aboutsummaryrefslogtreecommitdiff
path: root/tests/bench
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-05-08 06:56:39 -0400
committerPaul Duncan <pabs@pablotron.org>2024-05-08 06:56:39 -0400
commit6dbb2c46b5c0cb22d369e70c8496871ba86a9786 (patch)
treed3e929df9b3c2510e075adf2f4d754adad1b674b /tests/bench
parent86770194e53447a0da5f8aef9c57e45feb7cc557 (diff)
downloadsha3-6dbb2c46b5c0cb22d369e70c8496871ba86a9786.tar.bz2
sha3-6dbb2c46b5c0cb22d369e70c8496871ba86a9786.zip
tests/bench/bench.c: reduce defailt number of trails from 100k to 2k
Diffstat (limited to 'tests/bench')
-rw-r--r--tests/bench/bench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bench/bench.c b/tests/bench/bench.c
index 972a185..7c7598c 100644
--- a/tests/bench/bench.c
+++ b/tests/bench/bench.c
@@ -22,7 +22,7 @@
#include "rand-bytes.h" // rand_bytes()
// default number of trials
-#define NUM_TRIALS 100000
+#define NUM_TRIALS 2000
// input sizes (used for hashes and xofs)
static const size_t SRC_LENS[] = { 64, 256, 1024, 4096, 16384 };