Benchmark
Robert burner Schadek via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 1 14:08:43 PDT 2017
At this years DConf I gave a very short overview of the
benchmarking library I'm working on [1]. The source can be found
here [2]
The general idea goes as following.
Unit tests in D help us to find bugs and avoid regressions, but
they do not cover performance regressions. That is bad, we are
basically, currently just hoping that performance diminishes.
So my idea is to eventually get this library into phobos, write
benchmarks for all functions in phobos, execute the benchmarks
for every merge into master, use gnuplot to display the results
on the dlang webpage, profit.
Right now I need people to give feedback on the library. You can
find it on code.dlang.org [3]
[1]
https://www.youtube.com/watch?v=QELK73JSpFk&list=PL3jwVPmk_PRxo23yyoc0Ip_cP3-rCm7eB&index=30
[2] https://github.com/burner/benchmark
[3] http://code.dlang.org/packages/std_benchmark
More information about the Digitalmars-d
mailing list