You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
d86fb670e6
To emphasise these benchmark tests compare the internal performance of features amongst themselves, rather than absolute performance testing.
11 lines
114 B
Python
11 lines
114 B
Python
import time
|
|
|
|
|
|
ITERS = 20000000
|
|
|
|
def run(f):
|
|
t = time.time()
|
|
f(ITERS)
|
|
t = time.time() - t
|
|
print(t)
|