Review of Andrei's std.benchmark

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Sep 21 12:57:20 PDT 2012


On 9/19/12 4:12 AM, Thiez wrote:
> On Tuesday, 18 September 2012 at 22:01:30 UTC, Andrei Alexandrescu wrote:
>> After extensive tests with a variety of aggregate functions, I can say
>> firmly that taking the minimum time is by far the best when it comes
>> to assessing the speed of a function.
>
> What if one tries to benchmark a nondeterministic function? In such a
> case one might well be interested in the best run, worst run, and the
> average.

I agree. Currently std.benchmark is not geared for measuring 
non-deterministic functions.

Andrei


More information about the Digitalmars-d mailing list