11 ms·
I think it might well be worth it. My improved fasta.pl is now on Alioth and (I believe) this one change moved Perl above Ruby & also Python on the Which progr
by draegtun 14y ago
I think it might well be worth it. My improved fasta.pl is now on Alioth and (I believe) this one change moved Perl above Ruby & also Python on the Which programs are fastest - http://benchmarksgame.alioth.debian.org/u32/which-programs-are-fastest.php http://benchmarksgame.alioth.debian.org/u32/which-programs-a...
Here's a link to my fasta.pl on Alioth - http://benchmarksgame.alioth.debian.org/u32/program.php?test=fasta&lang=perl&id=1 http://benchmarksgame.alioth.debian.org/u32/program.php?test...
NB. For posterity here are the bottom five on this benchmarks at this moment in time:
PHP 40.49
Perl 51.96
Python 3 55.45
Ruby 1.9 62.40
Mozart/Oz 74.77
Previously Perl was second bottom with something like 69.3
- draegtun 14y agoReplying to myself because I want to add something interesting (to posterity) that I noticed today on Alioth: Perl (or OS) was upgraded from 5.14.* to 5.16.2. From cursory glance this gave all the Perl benchmarks a little boost. For eg. My fasta is about 3 secs quicker and the "interesting alternative" fasta dropped below 2.0 barrier (now timed at 1.96). However on the summary Perl slowed down a few points (here's the new bottom five on u32 single-core benchmark): Lua 31.09 PHP 40.49 Perl 54.90 Python 3 55.45 Ruby 1.9 62.40 I think the drop is because the Perl pldigits benchmark is now failing. The Math::GMP module can't be found. Pretty sure this wasn't a core module so perhaps a Perl dependency has been removed in the OS (Debian). PS. This maybe a temporary glitch so that dependency maybe restored soon. If not then I may amend pldigits benchmark accordingly. PPS. I see that Python pldigits is using gmpy and is working fine. This means that GMP is installed (as is gmpy Python library) so it's just the Math::GMP perl module that's missing :(