23 Jul 2009

Re: Michael Rooney: Simple timing of Python code

This blog post talks about timing python code…

There is a great little component in the standard library: timeit.

python -m timeit “code to time”

Advertisements