]> git.codecow.com Git - Monocypher.git/commitdiff
More stable speed tests
authorLoup Vaillant <loup@loup-vaillant.fr>
Mon, 20 Mar 2023 16:21:04 +0000 (17:21 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Mon, 20 Mar 2023 16:21:04 +0000 (17:21 +0100)
tests/speed/speed.h

index b5ac82f8f1651174ef932dfadfa20126e0ae122f..824bc916f73b0f4b14ca9530b76754bb167ed879 100644 (file)
@@ -95,7 +95,7 @@ static void print(const char *name, u64 duration, const char *unit)
 
 #define TIMING_START   \
        u64 duration = (u64)-1; \
-       FOR (i, 0, 500) { \
+       FOR (i, 0, 2000) { \
        TIMESTAMP(start);
 
 #define TIMING_END     \