Parameterized unittests and benchmarks (aka quickfix + benchmark) PR 2995

tchaloupka via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 8 05:24:16 PDT 2015


On Tuesday, 8 September 2015 at 09:20:08 UTC, Robert burner 
Schadek wrote:
> On Tuesday, 8 September 2015 at 09:07:10 UTC, Edwin van Leeuwen 
> wrote:
>> Just to be clear. The PR is to add the needed ground work for 
>> adding benchmark, or does it also add some benchmarks itself?
>
> The PR adds benchmarks for some functions of std.string.
>

I sort of like what Rust is using: 
https://github.com/rust-lang/rust/tree/master/src/test/bench

If we can have similar benchmarks suite which can be tested with 
every release, it can help to spot speed regressions or promote 
new optimisations.


More information about the Digitalmars-d mailing list