circuitpython/tests/internal_bench/var-2-global.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
112 B
Python
Raw Normal View History

import bench
ITERS = 20000000
2021-03-15 09:57:36 -04:00
def test(num):
i = 0
while i < ITERS:
i += 1
2021-03-15 09:57:36 -04:00
bench.run(test)