1# Function call overhead test
2# Perform the same trivial operation as global function call
3import bench
4
5
6def f(x):
7    return x + 1
8
9
10def test(num):
11    for i in iter(range(num)):
12        a = f(i)
13
14
15bench.run(test)
16