[Python-Dev] 2.0 Optimization & speed

Tim Peters tim_one@email.msn.com
Mon, 18 Sep 2000 20:22:13 -0400


[Barry Scott]
> There needs to be a set of benchmarks that can be used to test
> the effect of any changes. Is there a set that exist already that
> can be used?

None adequate.  Calls for volunteers in the past have been met with silence.

Lib/test/pyttone.py is remarkable in that it be the least typical of all
Python programs <0.4 wink>.  It seems a good measure of how long it takes to
make a trip around the eval loop, though.

Marc-Andre Lemburg put together a much fancier suite, that times a wide
variety of basic Python operations and constructs more-or-less in isolation
from each other.  It can be very helpful in pinpointing specific timing
regressions.

That's it.