Skip to content

Instantly share code, notes, and snippets.

@tux-00
Last active March 21, 2017 15:46
Show Gist options
  • Save tux-00/fbd738afff7c812af3e8eda40e2c6f24 to your computer and use it in GitHub Desktop.
Save tux-00/fbd738afff7c812af3e8eda40e2c6f24 to your computer and use it in GitHub Desktop.
Measure execution time of a function
import timeit
timeit.timeit(fct, number=10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment