[Shootout-list] Re: [Gd-chatter] examples/shootout strcat.dylan, NONE, 1.1

Andreas Bogk andreas@andreas.org
Mon, 14 Jun 2004 16:22:19 +0200


Einar Karttunen <ekarttun@cs.helsinki.fi> writes:

> Would it help that in addition to calculating cpu and memory usage one 
> would calculate for each benchmark 
>
> dcpu = test_cpu - hello_cpu
> dmem = test_mem - hello_mem

The test already does this.  Still, there's some more variation.  For
instance, some tests might use more libraries than "hello, world", and
additional libraries mean more for for the runtime linker loading all
the ELF shared libraries.

I really think the best way to deal with this problem is making the N
big enough so the test will last for at least 5 to 10 seconds.

Andreas