micropython/tests/internal_bench/var-4-arg.py

11 wiersze
112 B
Python

import bench
def test(num):
i = 0
while i < num:
i += 1
bench.run(lambda n: test(20000000))