Skip to content

Instantly share code, notes, and snippets.

@switowski
Created August 20, 2020 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save switowski/47bd1c682e7661181dee76dee2b456de to your computer and use it in GitHub Desktop.
Save switowski/47bd1c682e7661181dee76dee2b456de to your computer and use it in GitHub Desktop.
$ python -m timeit -s "from permission_vs_forgiveness import test_lbyl3" "test_lbyl3()"
2000000 loops, best of 5: 135 nsec per loop
$ python -m timeit -s "from permission_vs_forgiveness import test_aff3" "test_aff3()"
500000 loops, best of 5: 562 nsec per loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment