summaryrefslogtreecommitdiffstatshomepage
path: root/tests/bench/funcall-1-inline.py
blob: fbeb79630db1ae0c63385cd2be7dd1ff62563b35 (plain) (blame)
1
2
3
4
5
6
7
8
9
# 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)