Files
Core2forAWS-MicroPython/tests/bench/funcall-1-inline.py
T

10 lines
190 B
Python
Raw Normal View History

2014-06-19 03:20:34 +03:00
# Function call overhead test
# Establish a baseline for performing a trivial operation inline
import bench
def test(num):
for i in iter(range(num)):
a = i + 1
bench.run(test)