Performance
dennis luehring via Digitalmars-d
digitalmars-d at puremagic.com
Sat May 31 04:25:00 PDT 2014
Am 31.05.2014 08:36, schrieb Russel Winder via Digitalmars-d:
> As well as the average (mean), you must provide standard deviation and
> degrees of freedom so that a proper error analysis and t-tests are
> feasible.
average means average of benchmarked times
and the dummy values are only for keeping the compiler from removing
anything it can reduce at compiletime - that makes benchmarks
compareable, these values does not change the algorithm or result
quality an any way - its more like an overflowing-second-output bases on
the result of the original algorithm (but should be just a simple
addition or substraction - ignoring overflow etc.)
thats the base of all types of non-stupid benchmarking - next/pro step
is to look at the resulting assemblercode
More information about the Digitalmars-d
mailing list