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