aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilco Dijkstra <wilco.dijkstra@arm.com>2025-03-05 16:22:55 +0000
committerWilco Dijkstra <wilco.dijkstra@arm.com>2025-03-18 17:13:28 +0000
commitdd003db8d127b0a8ebabc6a972501a7d881073ea (patch)
treef391737fa2f9d7c89fbcf08de8b48357866fa063
parent997f49fbadf892136c77115edd537c832fb8074d (diff)
downloadglibc-dd003db8d127b0a8ebabc6a972501a7d881073ea.zip
glibc-dd003db8d127b0a8ebabc6a972501a7d881073ea.tar.gz
glibc-dd003db8d127b0a8ebabc6a972501a7d881073ea.tar.bz2
benchtests: Increase iterations of bench-malloc-simple
Increase iterations so it runs for ~1 second on modern CPUs. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
-rw-r--r--benchtests/bench-malloc-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchtests/bench-malloc-simple.c b/benchtests/bench-malloc-simple.c
index f93d76e..1d7989e 100644
--- a/benchtests/bench-malloc-simple.c
+++ b/benchtests/bench-malloc-simple.c
@@ -35,7 +35,7 @@
multi-threaded using thread-arena, and main arena with SINGLE_THREAD_P
false. */
-#define NUM_ITERS 200000
+#define NUM_ITERS 5000000
#define NUM_ALLOCS 4
#define MAX_ALLOCS 1600