diff options
Diffstat (limited to 'tests/internal_bench/bytealloc-1-bytes_n.py')
-rw-r--r-- | tests/internal_bench/bytealloc-1-bytes_n.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/internal_bench/bytealloc-1-bytes_n.py b/tests/internal_bench/bytealloc-1-bytes_n.py new file mode 100644 index 000000000..4a4bbc6fa --- /dev/null +++ b/tests/internal_bench/bytealloc-1-bytes_n.py @@ -0,0 +1,7 @@ +import bench + +def test(num): + for i in iter(range(num // 1000)): + bytes(10000) + +bench.run(test) |