circuitpython/tests/bench/bytealloc-1-bytes_n.py

10 lines
108 B
Python

import bench
def test(num):
for i in iter(range(num // 1000)):
bytes(10000)
bench.run(test)