Skip to content

Instantly share code, notes, and snippets.

@boochow
Created May 5, 2018 04:33
Show Gist options
  • Save boochow/b45e6613d1827479e268cb850126a94d to your computer and use it in GitHub Desktop.
Save boochow/b45e6613d1827479e268cb850126a94d to your computer and use it in GitHub Desktop.
import time
def performanceTest():
millis = time.ticks_ms
endTime = millis() + 10000
count = 0
while millis() < endTime:
count += 1
print("Count: ", count)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment