commit 687329edd3c31c2b2f89af79fd2ff5107bf2e31f
parent 1773b981c259ad1c20738fe9c38dc453b9dde885
Author: Laslo Hunhold <dev@frign.de>
Date: Tue, 14 Dec 2021 16:25:16 +0100
Reduce number of iterations for grapheme-performance-test
1000 iterations are usually enough to get good results. There's no need
to run it longer than that.
Signed-off-by: Laslo Hunhold <dev@frign.de>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/grapheme-performance.c b/test/grapheme-performance.c
@@ -9,7 +9,7 @@
#include "../gen/grapheme-test.h"
#define LEN(x) (sizeof(x) / sizeof(*(x)))
-#define NUM_ITERATIONS 10000
+#define NUM_ITERATIONS 1000
static double
time_diff(struct timespec *a, struct timespec *b)