[Python-Dev] 2.0 Optimization & speed
M.-A. Lemburg
mal@lemburg.com
Tue, 19 Sep 2000 10:35:33 +0200
Tim Peters wrote:
>
> [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.
Plus it's extensible, so you can add whatever test you feel you
need by simply dropping in a new module and editing a Setup
module. pybench is available from my Python Pages.
--
Marc-Andre Lemburg
______________________________________________________________________
Business: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/