Skip to content

Instantly share code, notes, and snippets.

@switowski
Created August 20, 2020 15:42
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/575dc9734950cb2d76a029580d11adae to your computer and use it in GitHub Desktop.
Save switowski/575dc9734950cb2d76a029580d11adae to your computer and use it in GitHub Desktop.
$ python -m timeit -s "from permission_vs_forgiveness import test_lbyl2" "test_lbyl2()"
500000 loops, best of 5: 326 nsec per loop
$ python -m timeit -s "from permission_vs_forgiveness import test_aff2" "test_aff2()"
2000000 loops, best of 5: 176 nsec per loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment