[PATCH] benchtests: Increase iterations of bench-malloc-simple
Wilco Dijkstra
Wilco.Dijkstra@arm.com
Wed Mar 5 16:31:01 GMT 2025
Increase iterations so it runs for ~1 second on modern CPUs.
---
diff --git a/benchtests/bench-malloc-simple.c b/benchtests/bench-malloc-simple.c
index f93d76e58f65d43e49968f90ea993bd28025e846..1d7989e3853d8779862106f6910b7c5327701a07 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
More information about the Libc-alpha
mailing list