diff --git a/Tools/ftscalingbench/ftscalingbench.py b/Tools/ftscalingbench/ftscalingbench.py index 8a58bd3c2bbcc8..364c465bc91b0b 100644 --- a/Tools/ftscalingbench/ftscalingbench.py +++ b/Tools/ftscalingbench/ftscalingbench.py @@ -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