diff options
Diffstat (limited to 'tests/bench/bytealloc-1-bytes_n.py')
-rw-r--r-- | tests/bench/bytealloc-1-bytes_n.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/bench/bytealloc-1-bytes_n.py b/tests/bench/bytealloc-1-bytes_n.py new file mode 100644 index 0000000000..4a4bbc6fae --- /dev/null +++ b/tests/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) |