summaryrefslogtreecommitdiffstatshomepage
path: root/tests/internal_bench/bytealloc-2-repeat.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/internal_bench/bytealloc-2-repeat.py')
-rw-r--r--tests/internal_bench/bytealloc-2-repeat.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/internal_bench/bytealloc-2-repeat.py b/tests/internal_bench/bytealloc-2-repeat.py
index 786a804622..8d6b5d5289 100644
--- a/tests/internal_bench/bytealloc-2-repeat.py
+++ b/tests/internal_bench/bytealloc-2-repeat.py
@@ -1,7 +1,9 @@
import bench
+
def test(num):
for i in iter(range(num // 1000)):
b"\0" * 10000
+
bench.run(test)