benchtests: Increase iterations of bench-malloc-simple

Message ID PAWPR08MB8982BB4BE8A189ED0FC764D683CB2@PAWPR08MB8982.eurprd08.prod.outlook.com (mailing list archive)
State Committed
Commit dd003db8d127b0a8ebabc6a972501a7d881073ea
Headers
Series benchtests: Increase iterations of bench-malloc-simple |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 success Test passed
redhat-pt-bot/TryBot-32bit success Build for i686
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-arm success Test passed

Commit Message

Wilco Dijkstra March 5, 2025, 4:31 p.m. UTC
  Increase iterations so it runs for ~1 second on modern CPUs.

---
  

Patch

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