D compiler benchmarks

Daniel Keep daniel.keep.lists at gmail.com
Sat Mar 7 17:11:26 PST 2009



Robert Clipsham wrote:
> I was thinking more a way of getting the memory usage using run.d (the
> app I'm using for benchmarking, it's in the repository if you're
> interested). It's rather difficult to get the memory usage in run.d so I
> can put it straight into the stats page if it's being got from within
> benchmark, and doing this would probably affect the benchmark some
> amount which I would ideally like to avoid.

Ah.

>From the alioth FAQ:

> How did you measure memory use?
>
> By sampling GTop proc_mem for the program and it's child processes
> every 0.2 seconds. Obviously those measurements are unlikely to be
> reliable for programs that run for less than 0.2 seconds.

Probably best to ensure this sampling thread is running on a different
hardware thread to the tested program...

  -- Daniel



More information about the Digitalmars-d mailing list