$10K coding deathmatch

Paul Seamons paul at seamons.com
Fri Nov 3 08:27:09 MST 2006


> Python: .045ms on average
> Tcl [1]: .016ms on average
> Perl: .0125ms on average
>
> Looks like Perl wins out on speed.

Though I love seeing perl appear to be faster, you really would need to change 
the benchmark to iterate over the actual test a bit more so you could even 
out the CPU time attributed to startup.  Perhaps you did.  I'm guessing 
though that Perl is showing as faster just because the interpreter starts 
more quickly.  In this example with only five elements, there just isn't that 
much CPU being used to actually do the processing.

Paul



More information about the PLUG mailing list