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

8 wiersze
106 B
Python

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