From 272daf3b826bd72e3e83b7fb1ffbb73ec30fb90a Mon Sep 17 00:00:00 2001 From: Sam Gross Date: Fri, 3 Jan 2025 16:25:41 -0500 Subject: [PATCH] Update Tools/ftscalingbench/ftscalingbench.py Co-authored-by: mpage --- Tools/ftscalingbench/ftscalingbench.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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