Skip to content

Commit

Permalink
Update Tools/ftscalingbench/ftscalingbench.py
Browse files Browse the repository at this point in the history
Co-authored-by: mpage <mpage@cs.stanford.edu>
  • Loading branch information
colesbury and mpage authored Jan 3, 2025
1 parent f65937c commit 272daf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/ftscalingbench/ftscalingbench.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def cmodule_function():
def object_lookup_special():
# round() uses `_PyObject_LookupSpecial()` internally.
N = 1000 * WORK_SCALE
for i in range(1000 * WORK_SCALE):
for i in range(N):
round(i / N)

@register_benchmark
Expand Down

0 comments on commit 272daf3

Please sign in to comment.