How to measure speed improvements across revisions over time?

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Mon May 10 19:04:36 EDT 2010


On 08:13 pm, matt at tplus1.com wrote:
>I know how to use timeit and/or profile to measure the current run-time
>cost of some code.
>
>I want to record the time used by some original implementation, then
>after I rewrite it, I want to find out if I made stuff faster or 
>slower,
>and by how much.
>
>Other than me writing down numbers on a piece of paper on my desk, does
>some tool that does this already exist?
>
>If it doesn't exist, how should I build it?

http://github.com/tobami/codespeed sounds like the kind of thing you're 
looking for.  You can see an example of what it does at 
http://speed.pypy.org/

Jean-Paul
>
>Matt
>
>--
>http://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list