Python vs. Perl vs. PHP?

Diez B. Roggisch deets_noospaam at web.de
Fri Aug 1 14:06:13 EDT 2003


>> Definitely. See here:
>>
>> http://www.bagley.org/~doug/shootout/craps.shtml
> 
> has somebody tried to run this bench with python2.3 ?

I just picked a few (heapsort.python, methcall.python, objinst.python) tests
and run them on my local machine using 2.2 and 2.3.

The results are that 2.3 seems to need 60-70% of cpu time. Looks good!

time heapsort.python2.3 80000
real    0m4.779s
user    0m3.540s
sys     0m0.000s

time heapsort.python2.2 80000
real    0m5.655s
user    0m5.510s
sys     0m0.030s

Mind you: I didn't do a full benchmarking and didn't even try so!



Diez




More information about the Python-list mailing list