micropython/tests/internal_bench/bytealloc-1-bytes_n.py

10 wiersze
108 B
Python

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