Created
October 4, 2016 09:15
-
-
Save nvdv/195583098322a9520000db9f185356dd to your computer and use it in GitHub Desktop.
How profilers work - @Profile 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 | |
def is_prime(n): | |
... | |
@profile | |
def sum_of_digits(n): | |
... | |
@profile | |
def get_primes(n): | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment