micropython/tests/internal_bench/bytealloc-2-repeat.py

10 lines
109 B
Python

import bench
def test(num):
for i in iter(range(num // 1000)):
b"\0" * 10000
bench.run(test)