Benchmarking suite

Dmitry Olshansky via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 29 05:35:14 PDT 2015


On 29-Aug-2015 15:05, qznc wrote:
> Since issue 13487 [0] seems to rot away, I started something on my own.
> Made a benchmark script and inserted C/C++/D programs for comparison.
>
> However, various programs are broken, as you see in the example report [1].
> The D code is at least 7 years old. I only fixed compile errors.
> The C/C++ programs were selected quite randomly.
>
> It should be easy to checkout the repo [2] and run the benchmarks yourself
> as long as you run on Linux:
>
>    git clone git at github.com:qznc/d-shootout.git
>    cd d-shootout
>    ./benchmark.d --quickly
>    xdg-open index.html
>
> Maybe somebody has already fixed or improved benchmark programs?
>
Well, here is the regex-dna one with 3 versions including C-T regex:

https://github.com/DmitryOlshansky/FReD/blob/master/bench/regex-dna/d_dna.d

Could be trivially parallelized with std.parallelism.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list