Skip to content

Instantly share code, notes, and snippets.

@choldgraf
Forked from ivanov/enigma.py
Created November 21, 2013 23:30
Show Gist options
  • Save choldgraf/7591845 to your computer and use it in GitHub Desktop.
Save choldgraf/7591845 to your computer and use it in GitHub Desktop.
# 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