circuitpython/tests/bench/loop_count-2-range_iter.py

10 lines
92 B
Python
Raw Normal View History

import bench
2021-03-15 09:57:36 -04:00
def test(num):
for i in iter(range(num)):
pass
2021-03-15 09:57:36 -04:00
bench.run(test)