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

8 lines
106 B
Python

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