how fast is Python?

Michael Peuser mpeuser at web.de
Thu Aug 21 15:02:17 EDT 2003


"Neil Padgen" <neil.padgen at mon.bbc.co.uk> schrieb im Newsbeitrag
news:bi2ki9$pai$1 at nntp0.reith.bbc.co.uk...
> On Wednesday 20 August 2003 21:19, Irmen de Jong wrote:
> > Investigate Psyco.
>

[...]
>
> produced the following results on a 1.7GHz P4 running FreeBSD 4.8:
>
> > python2.2 pi.py
> calcPi calculated pi as 3.14159315359 in 3.87623202801 seconds
> speedyPi calculated pi as 3.14159315359 in 0.790405035019 seconds
>
> -- Neil

This is certainly correct. My experiance with more general programs running
for a few minutes shows that you can expect a speed-up of two. This is still
impressiv when you have your results in 5 instead of 10 minutes..

Kindly
Michael P






More information about the Python-list mailing list