mirror of
https://github.com/micropython/micropython.git
synced 2025-09-06 09:50:20 +02:00
To emphasise these benchmark tests compare the internal performance of features amongst themselves, rather than absolute performance testing.
8 lines
82 B
Python
8 lines
82 B
Python
import bench
|
|
|
|
def test(num):
|
|
while num > 0:
|
|
num -= 1
|
|
|
|
bench.run(test)
|