Created
November 21, 2013 19:35
-
-
Save ivanov/7588105 to your computer and use it in GitHub Desktop.
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
# A template to demonstrate why we need to profile | |
# This instance written by Paul Ivanov (XXX: put your name / github id here) | |
def where_is_the_bottleneck(x): | |
pass | |
def could_be_this_one(x, y): | |
pass | |
def or_this_one(x): | |
pass | |
def you(): | |
pass | |
def will_have_to_profile(x): | |
pass | |
def main(): | |
where_is_the_bottleneck(10) | |
could_be_this_one(3, 1000000) | |
or_this_one(9e6) | |
could_be_this_one(1000000, 3) | |
you() | |
will_have_to_profile(314159) | |
if __name__ == '__main__': | |
main() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment