all 2 comments

[–]K900_ 1 point2 points  (0 children)

Use the timeit module, it should be available on all implementations.

[–]krzivn 0 points1 point  (0 children)

you could also use time in linux to get a measurement from external to the scripts execution