Review of Andrei's std.benchmark
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Fri Sep 21 14:01:29 PDT 2012
On 9/21/12 11:14 AM, Manu wrote:
> On 21 September 2012 07:23, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org <mailto:SeeWebsiteForEmail at erdani.org>>
> wrote:
>
> For a very simple reason: unless the algorithm under benchmark is
> very long-running, max is completely useless, and it ruins average
> as well.
>
>
> This is only true for systems with a comprehensive pre-emptive OS
> running on the same core. Most embedded systems will only be affected by
> cache misses and bus contention, in that situation, max is perfectly
> acceptable.
I think embedded systems that run e.g. Linux will be affected by task
switching.
Andrei
More information about the Digitalmars-d
mailing list