mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
d569c6eeb4
The idea to run benchmarks for a constant number of iterations is problematic. While the benchmarks may run for 10 seconds on x86_64, they could run for about 30 seconds on powerpc and worse, over 3 minutes on arm. Besides that, adding a new benchmark is cumbersome since one needs to find out the number of iterations needed for a sufficient runtime. A better idea would be to run each benchmark for a specific amount of time. This patch does just that. The run time defaults to 10 seconds and it is configurable at command line: make BENCH_DURATION=5 bench |
||
---|---|---|
.. | ||
atan-inputs | ||
bench-modf.c | ||
bench-skeleton.c | ||
cos-inputs | ||
exp-inputs | ||
Makefile | ||
pow-inputs | ||
rint-inputs | ||
sin-inputs | ||
slowatan-inputs | ||
slowatan.c | ||
slowcos-inputs | ||
slowcos.c | ||
slowexp-inputs | ||
slowexp.c | ||
slowpow-inputs | ||
slowpow.c | ||
slowsin-inputs | ||
slowsin.c | ||
slowtan-inputs | ||
slowtan.c | ||
tan-inputs |