from timeit import Timer as Tprint T("class Haha(object): pass").timeit(5000)print T("Haha()", "class Haha(object): pass").timeit(5000)
Standard input is empty
0.139358043671 0.00105404853821
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!