Skip to content

Commit 272daf3

Browse files
colesburympage
andauthored
Update Tools/ftscalingbench/ftscalingbench.py
Co-authored-by: mpage <[email protected]>
1 parent f65937c commit 272daf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/ftscalingbench/ftscalingbench.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def cmodule_function():
6262
def object_lookup_special():
6363
# round() uses `_PyObject_LookupSpecial()` internally.
6464
N = 1000 * WORK_SCALE
65-
for i in range(1000 * WORK_SCALE):
65+
for i in range(N):
6666
round(i / N)
6767

6868
@register_benchmark

0 commit comments

Comments
 (0)