Python Performance

Markus Stenberg mstenber at cc.Helsinki.FI
Thu Jul 29 03:23:09 EDT 1999


"Nick Trout" <nick@#spam_me_not#videosystem.co.uk> writes:
> >> Thus I've had great deal of interest in getting the speed up; however,
> >> speeding up dynamic interpreted languages is nontrivial, especially
> >> languages as dynamic as Python.
> Are there any pieces of test code anywhere which could be used as a good
> test for Pythons speed (encompasing all of its language features) so that if
> anyone tinkered with the bytecode execution unit they could measure the
> speed improvement. It would be useful if it also tested correctness to
> ensure no mistakes?!

There is PyStone (comes along with distribution) and PyBench (which I
haven't tried). I myself use a performance testing framework and ton of
small examples to judge whether things speed up or not.

> N

-Markus




More information about the Python-list mailing list