mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
pybench prep_times calculation error (closes #11895)
This commit is contained in:
commit
b32321aed9
2 changed files with 2 additions and 1 deletions
|
@ -276,7 +276,7 @@ class Test:
|
|||
for i in calibration_loops:
|
||||
pass
|
||||
t = timer() - t
|
||||
prep_times.append(t)
|
||||
prep_times.append(t / CALIBRATION_LOOPS)
|
||||
min_prep_time = min(prep_times)
|
||||
if _debug:
|
||||
print()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue