Benchmarking in D

Justin Spahr-Summers Justin.SpahrSummers at gmail.com
Sun Apr 11 01:33:45 PDT 2010


On Sun, 11 Apr 2010 10:27:58 +0200, Chris Mueller 
<ruunhb at googlemail.com> wrote:
> 
> Hi everyone,
> 
> I would like to benchmark some of my D routines for performance testing 
>   and like to compare it with some alternative implementations in e.g. 
> time and memory consumption.
> 
> I'm not really experienced in this field and want to ask if someone can 
> share his knowledge.
> 
> Are there some tools providing by the operating system to look at the
> performance of a process? Are there any libraries in D that can help?
> 
> 
> Chris

There's the benchmark() function in Phobos: 
http://www.digitalmars.com/d/2.0/phobos/std_date.html#benchmark

Don't know if that's what you're really looking for, though.



More information about the Digitalmars-d mailing list