about summary refs log tree commit diff
path: root/benchmark/benchmark.py
diff options
context:
space:
mode:
authorChris Ball <chris@printf.net>2023-10-02 03:23:09 -0700
committerChris Ball <chris@printf.net>2023-10-02 04:11:43 -0700
commitb9db6b1254c9bf3a47c171bb96468628e9bd00f2 (patch)
treebf68f202352170edb26933fc4f64418399177db1 /benchmark/benchmark.py
parent49a1d81191aea5c7d068ad0051f39fc579ebfa63 (diff)
downloadafl++-b9db6b1254c9bf3a47c171bb96468628e9bd00f2.tar.gz
benchmark: add a README, lower default runs from 5 to 3
Diffstat (limited to 'benchmark/benchmark.py')
-rw-r--r--benchmark/benchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py
index da32167a..e0dea299 100644
--- a/benchmark/benchmark.py
+++ b/benchmark/benchmark.py
@@ -64,7 +64,7 @@ cpu_count = multiprocessing.cpu_count()
 parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
 parser.add_argument("-b", "--basedir", help="directory to use for temp files", type=str, default="/tmp/aflpp-benchmark")
 parser.add_argument("-d", "--debug", help="show verbose debugging output", action="store_true")
-parser.add_argument("-r", "--runs", help="how many runs to average results over", type=int, default=5)
+parser.add_argument("-r", "--runs", help="how many runs to average results over", type=int, default=3)
 parser.add_argument("-f", "--fuzzers", help="how many afl-fuzz workers to use", type=int, default=cpu_count)
 parser.add_argument("-m", "--mode", help="pick modes", action="append", default=["multicore"], choices=mode_names)
 parser.add_argument("-c", "--comment", help="add a comment about your setup", type=str, default="")