I\'m struggling with this using timeit and was wondering if anyone had any tips
Basically I have a function(that I pass a value to) that I want to test the speed of
Make it a callable:
if __name__=='__main__': from timeit import Timer t = Timer(lambda: superMegaIntenseFunction(10)) print(t.timeit(number=1))
Should work