]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
benchtests: Increase iterations of bench-malloc-simple
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Wed, 5 Mar 2025 16:22:55 +0000 (16:22 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Tue, 18 Mar 2025 17:13:28 +0000 (17:13 +0000)
Increase iterations so it runs for ~1 second on modern CPUs.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
benchtests/bench-malloc-simple.c

index f93d76e58f65d43e49968f90ea993bd28025e846..1d7989e3853d8779862106f6910b7c5327701a07 100644 (file)
@@ -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