You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
192 B
11 lines
192 B
# 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)
|
|
|