mirror of
https://github.com/micropython/micropython.git
synced 2024-07-26 18:26:56 +01:00
To emphasise these benchmark tests compare the internal performance of features amongst themselves, rather than absolute performance testing.
11 lines
134 B
Python
11 lines
134 B
Python
import bench
|
|
|
|
def func(a, b, c):
|
|
pass
|
|
|
|
def test(num):
|
|
for i in iter(range(num)):
|
|
func(c=i, b=i, a=i)
|
|
|
|
bench.run(test)
|