]> git.codecow.com Git - Monocypher.git/commitdiff
more accurate speed benchmarks
authorLoup Vaillant <loup@loup-vaillant.fr>
Sat, 22 Jul 2017 00:26:30 +0000 (02:26 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sat, 22 Jul 2017 00:26:30 +0000 (02:26 +0200)
tests/speed.c

index c3902c0f2b61da08f03de89506f7e97d36ada65b..7d638f345a072b6ae6c1f03e8038912b54831cb4 100644 (file)
@@ -86,7 +86,7 @@ static void print(const char *name, speed_t result, const char *lib_name)
     timespec duration;                          \
     duration.tv_sec  = 3600 * 24;               \
     duration.tv_nsec = 0;                       \
-    FOR (i, 0, 10) {                            \
+    FOR (i, 0, 30) {                            \
         TIMESTAMP(start);
 
 #define TIMING_END(duration)                    \