fork download
  1. from timeit import Timer as T
  2. print T("class Haha(object): pass").timeit(5000)
  3. print T("Haha()", "class Haha(object): pass").timeit(5000)
Success #stdin #stdout 0.17s 8648KB
stdin
Standard input is empty
stdout
0.139358043671
0.00105404853821