D benchmarks

Dmitry Olshansky dmitry.olsh at gmail.com
Mon Mar 11 11:15:31 PDT 2013


11-Mar-2013 03:36, David Nadlinger пишет:
> Hi all,
>
> I am currently finalizing my material for the LDC DConf talk, and I
> thought it would be nice to include a quick runtime performance
> comparison between the different compilers, just to give the audience a
> general sense of what to expect.
>
> Thus, I am looking for benchmarks to use in the talk. Specifically, they
> should:
>
>   - be open source, or at least source-available, so other people can
> reproduce the results
>   - be *reasonably* self-contained, so that I don't have to spend three
> hours setting up build dependencies
>   - be written mostly in D, I don't want to benchmark GCC
>   - work with DMD 2.061 or DMD 2.062
>   - run on Linux or OS X
>
[snip]

> In the future – i.e. as soon as possible, but somebody has to actually
> spend some time on setting things up –, we might also want to set up a
> nightly tester with such benchmarks to track performance of the
> different compilers over time. It's not as crucial for GDC and LDC as it
> is for the upstream backend projects, but there are still quite a few
> things to watch out for in druntime/Phobos and the LDC LLVM
> optimizations specific to D.

Hopefully sometime soon benchmarks would become part of the auto-tester 
framework.


> P.S.: Juan Manuel Cabo's "avgtime" is a really, _really_ useful tool for
> benchmarking whole programs and actually getting solid statistics out of
> it. Let's add something similar as a library for more finely-grained use!

+111

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list