mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 01:33:36 +08:00
Benchtests: Increase benchmark iterations
Increase benchmark iterations for math and vector math functions to improve timing accuracy. Vector math benchmarks now take 1-3 seconds on a modern CPU. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
9fd2ceb55d
commit
7c14d8a985
@ -29,7 +29,7 @@
|
||||
#include <bench-libmvec-arch.h>
|
||||
|
||||
#include <bench-util.c>
|
||||
#define D_ITERS 10000
|
||||
#define D_ITERS 200000
|
||||
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
|
@ -48,7 +48,7 @@ main (int argc, char **argv)
|
||||
|
||||
memset (&runtime, 0, sizeof (runtime));
|
||||
|
||||
unsigned long iters = 1000;
|
||||
unsigned long iters = 2000;
|
||||
|
||||
#ifdef BENCH_INIT
|
||||
BENCH_INIT ();
|
||||
|
Loading…
Reference in New Issue
Block a user