summaryrefslogtreecommitdiffstats
path: root/Lib/calendar.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-10-18 15:06:56 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-10-18 15:06:56 (GMT)
commitf8fb82cd25739fc2fe67c5e6997af28f2a5590d3 (patch)
treebebffd97163aa6d225f9365157bd230324a4312e /Lib/calendar.py
parentbf9655854bec3e4cddc0580e815938f9f678cd23 (diff)
downloadcpython-f8fb82cd25739fc2fe67c5e6997af28f2a5590d3.zip
cpython-f8fb82cd25739fc2fe67c5e6997af28f2a5590d3.tar.gz
cpython-f8fb82cd25739fc2fe67c5e6997af28f2a5590d3.tar.bz2
timeit: start autorange with 1 iteration, not 10
Issue #28240: timeit autorange now uses a single loop iteration if the benchmark takes less than 10 seconds, instead of 10 iterations. "python3 -m timeit -s 'import time' 'time.sleep(1)'" now takes 4 seconds instead of 40 seconds.
Diffstat (limited to 'Lib/calendar.py')
0 files changed, 0 insertions, 0 deletions