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

Edwin van Leeuwen via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 8 02:07:07 PDT 2015


On Tuesday, 8 September 2015 at 09:01:22 UTC, Robert burner 
Schadek wrote:
> On Tuesday, 8 September 2015 at 08:42:59 UTC, Edwin van Leeuwen 
> wrote:
>> This does sound like a really good idea. Is the plan to turn 
>> every unittest block into a benchmark (automatically), or did 
>> you add specific benchmarks blocks?
>
> you would add specific benchmark blocks, because the benchmarks 
> might run to long for a rapid development cycle.

Just to be clear. The PR is to add the needed ground work for 
adding benchmark, or does it also add some benchmarks itself?

It does seem a bit of a shame not to use the unittests at all for 
baseline benchmarks. The unittests already exist, with reasonable 
good coverage. Getting good benchmark coverage by writing 
specific/new benchmarks would mean a huge amount of extra effort.


More information about the Digitalmars-d mailing list