commit 687329edd3c31c2b2f89af79fd2ff5107bf2e31f
Author: Laslo Hunhold <[email protected]>
AuthorDate: Tue Dec 14 16:25:16 2021 +0100
Commit: Laslo Hunhold <[email protected]>
CommitDate: Tue Dec 14 16:25:16 2021 +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 <[email protected]>
diff --git a/test/grapheme-performance.c b/test/grapheme-performance.c
index 050fbaf..05035bd 100644
--- 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)