commit | 1b90115304bb77a0dff16c463e2015a1645ab320 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Oct 18 17:13:22 2016 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Oct 18 17:13:22 2016 +0200 |
tree | 9a259d9f8866e25471786af777badad7f37a8d99 | |
parent | f8fb82cd25739fc2fe67c5e6997af28f2a5590d3 [diff] [blame] |
timeit: change default repeat to 5, instead of 3 Issue #28240: timeit now repeats the benchmarks 5 times instead of only 3 to make benchmarks more reliable.
diff --git a/Lib/timeit.py b/Lib/timeit.py index 0040efd..d40998c 100644 --- a/Lib/timeit.py +++ b/Lib/timeit.py
@@ -59,7 +59,7 @@ dummy_src_name = "<timeit-src>" default_number = 1000000 -default_repeat = 3 +default_repeat = 5 default_timer = time.perf_counter _globals = globals