glibc/benchtests
Siddhesh Poyarekar d569c6eeb4 Maintain runtime of each benchmark at ~10 seconds
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
2013-04-30 14:10:20 +05:30
..
atan-inputs Add benchmark inputs for atan 2013-04-03 15:50:15 +05:30
bench-modf.c Maintain runtime of each benchmark at ~10 seconds 2013-04-30 14:10:20 +05:30
bench-skeleton.c Maintain runtime of each benchmark at ~10 seconds 2013-04-30 14:10:20 +05:30
cos-inputs Add benchmark inputs for cos and tan 2013-04-17 17:45:55 +05:30
exp-inputs Add benchmark tests for slowpow and slowexp 2013-04-02 17:45:45 +05:30
Makefile Maintain runtime of each benchmark at ~10 seconds 2013-04-30 14:10:20 +05:30
pow-inputs Add benchmark tests for slowpow and slowexp 2013-04-02 17:45:45 +05:30
rint-inputs PowerPC: remove branch prediction from rint implementation 2013-04-01 06:36:51 -05:00
sin-inputs Add benchmark inputs for sin 2013-04-02 17:48:47 +05:30
slowatan-inputs Add benchmark inputs for atan 2013-04-03 15:50:15 +05:30
slowatan.c Add benchmark inputs for atan 2013-04-03 15:50:15 +05:30
slowcos-inputs Add benchmark inputs for cos and tan 2013-04-17 17:45:55 +05:30
slowcos.c Add benchmark inputs for cos and tan 2013-04-17 17:45:55 +05:30
slowexp-inputs Add benchmark tests for slowpow and slowexp 2013-04-02 17:45:45 +05:30
slowexp.c Add benchmark tests for slowpow and slowexp 2013-04-02 17:45:45 +05:30
slowpow-inputs Add benchmark tests for slowpow and slowexp 2013-04-02 17:45:45 +05:30
slowpow.c Add benchmark tests for slowpow and slowexp 2013-04-02 17:45:45 +05:30
slowsin-inputs Add benchmark inputs for sin 2013-04-02 17:48:47 +05:30
slowsin.c Add benchmark inputs for sin 2013-04-02 17:48:47 +05:30
slowtan-inputs Add benchmark inputs for cos and tan 2013-04-17 17:45:55 +05:30
slowtan.c Add benchmark inputs for cos and tan 2013-04-17 17:45:55 +05:30
tan-inputs Add benchmark inputs for cos and tan 2013-04-17 17:45:55 +05:30