mirror of
https://github.com/licsber/micropython.git
synced 2024-09-22 01:50:24 +08:00
d86fb670e6
To emphasise these benchmark tests compare the internal performance of features amongst themselves, rather than absolute performance testing.
11 lines
118 B
Python
11 lines
118 B
Python
import bench
|
|
|
|
def func(a):
|
|
pass
|
|
|
|
def test(num):
|
|
for i in iter(range(num)):
|
|
func(a=i)
|
|
|
|
bench.run(test)
|