micropython/tests/bench/func_args-2-pos_default_2_o...

11 lines
126 B
Python
Raw Normal View History

import bench
def func(a, b=1, c=2):
pass
def test(num):
for i in iter(range(num)):
func(i)
bench.run(test)