Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b32321a

Browse files
committed
pybench prep_times calculation error (closes #11895)
2 parents 5db3e01 + 8f14bbd commit b32321a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,7 @@ Steven Taschuk
852852
Monty Taylor
853853
Amy Taylor
854854
Anatoly Techtonik
855+
Mikhail Terekhov
855856
Tobias Thelen
856857
James Thomas
857858
Robin Thomas

Tools/pybench/pybench.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def calibrate_test(self):
276276
for i in calibration_loops:
277277
pass
278278
t = timer() - t
279-
prep_times.append(t)
279+
prep_times.append(t / CALIBRATION_LOOPS)
280280
min_prep_time = min(prep_times)
281281
if _debug:
282282
print()

0 commit comments

Comments
 (0)