How Fast Does Python Run?

Marty Backe mgbacke at usa.net
Sat Jun 17 16:34:31 EDT 2000


I'd be interested in seeing the code for each language. Specifically,
I doubt tcl is as slow as your results indicate. It should be more in
line with Perl. I suspect, for tcl, you didn't run it as a procedure,
which has a dramatic impact on how fast tcl runs.

Marty Backe

On Sat, 17 Jun 2000 00:52:19 +0600, Aleksey Kishkin <ax at infocentr.ru>
wrote:

>Akira Kiyomiya wrote:
>> 
>> I wonder if Python runs faster than Perl.
>> 
>> Could someone give me some comparison and contrast with some languages such
>> as Perl, Tcl, JavaScript, etc?
>> 
>> I am just curious.
>> 
>> Thanks
>> 
>> Akria
>
>I did. I found the programm (sieve) for java and rewrote this
>programm to all languages which I had at that moment.
>It worked 10 seconds and printed how much this task was solved.
>
>(it means bigger amount is better)
>
>TCL  - 13 times / 10 sec 
>perl - 64
>python - 36
>C without optimization - 6468
>C with optimization  - 19111
>Java without JIT (1.1.7) - 921
>Java with JIT (kaffe)  - 8230
>pascal (fpc)   - 4451
> 
>Well. that's all.




More information about the Python-list mailing list