summaryrefslogtreecommitdiffstatshomepage
path: root/tests/internal_bench/loop_count-1-range.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/internal_bench/loop_count-1-range.py')
-rw-r--r--tests/internal_bench/loop_count-1-range.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/internal_bench/loop_count-1-range.py b/tests/internal_bench/loop_count-1-range.py
new file mode 100644
index 0000000000..e22adf6cbe
--- /dev/null
+++ b/tests/internal_bench/loop_count-1-range.py
@@ -0,0 +1,7 @@
+import bench
+
+def test(num):
+ for i in range(num):
+ pass
+
+bench.run(test)