Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """
- Basic Performance Test for MicroPython
- https://github.com/micropython/micropython/wiki/Performance
- """
- import time
- def performance_test():
- ticks = time.ticks_ms
- end_time = ticks() + 10_000
- count = 0
- while ticks() < end_time:
- count += 1
- print("Count: ", count)
- performance_test()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement