Skip to content

Instantly share code, notes, and snippets.

@taizilongxu taizilongxu/123
Last active Aug 29, 2015

What would you like to do?
def timeit(func, *args, **kw):
def wrap():
print time.time()
func(*args, **kw)
print time.time()
return wrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.