Created
October 4, 2016 09:36
-
-
Save nvdv/c9080d655632016cf0e58203854b6f04 to your computer and use it in GitHub Desktop.
How profilers work - @profile_stats wrapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@profile_stats | |
def is_prime(n): | |
... | |
@profile_stats | |
def sum_of_digits(n): | |
... | |
@profile_stats | |
def get_primes(n): | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment