fork(1) download
  1. # illustrating http://stackoverflow.com/a/28539821/2932052
  2. import timeit
  3. print timeit.timeit("math.pow(2, 100)",setup='import math')
  4. print timeit.timeit("pow(2, 100)")
Success #stdin #stdout 2.26s 7692KB
stdin
Standard input is empty
stdout
0.326783180237
1.92463493347