Files
TencentOS-tiny/components/language/micropython/tests/internal_bench/var-2-global.py
2022-09-29 12:10:37 +08:00

13 lines
112 B
Python

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