Skip to content
bench/lang

Perl

perl 5.40.2

#19
Overall rank
36.49×
Score
17/17
Problems covered
0
Did not finish

Best result per problem

ProblemRankCodeTimePeak mem
binarytrees#19 of 191.pl12.65s76.5MB
coro-prime-sieve#7 of 191.pl949ms8.7MB
edigits#9 of 191.pl220ms8.3MB
fannkuch-redux#19 of 191.pl111.47s4.5MB
fasta#17 of 191.pl2.29s9.7MB
http-server#4 of 191.pl27ms7.6MB
json-serde#19 of 191.pl10.65s745.0MB
knucleotide#16 of 181.pl4.47s36.6MB
lru#19 of 191.pl2.73s4.8MB
mandelbrot#19 of 191.pl67.10s5.4MB
merkletrees#18 of 191.pl11.79s109.3MB
nbody#19 of 192.pl15.59s4.9MB
nsieve#19 of 191.pl22.41s9.4MB
pidigits#4 of 191.pl469ms6.4MB
regex-redux#16 of 181.pl4.50s108.4MB
secp256k1#18 of 191.pl8.63s6.1MB
spectral-norm#18 of 191.pl297.47s6.8MB

Head to head

Perl is faster on 1 of 17 shared problems

ProblemPerlC++Faster by
binarytrees12.65s649msC++ 19.50×
coro-prime-sieve949ms53msC++ 17.81×
edigits220ms24msC++ 9.14×
fannkuch-redux111.47s1.76sC++ 63.35×
fasta2.29s242msC++ 9.45×
http-server27ms27msPerl 1.03×
json-serde10.65s327msC++ 32.55×
knucleotide4.47s275msC++ 16.23×
lru2.73s96msC++ 28.34×
mandelbrot67.10s758msC++ 88.51×
merkletrees11.79s300msC++ 39.24×
nbody15.59s118msC++ 132.62×
nsieve22.41s276msC++ 81.13×
pidigits469ms180msC++ 2.61×
regex-redux4.50s658msC++ 6.85×
secp256k18.63s430msC++ 20.07×
spectral-norm297.47s1.32sC++ 225.20×

Over time

Overall score after each run on Apple M5 laptop. Lower is faster.

Perl overall score per run
Perl overall score per run
RunPerl
Oct 19, 202633.44×
Oct 20, 202636.49×
Oct 20, 202636.49×
Recent runs, newest first
RunVersionRankScoreChange
Oct 20, 2026perl 5.40.2#1936.49×no change
Oct 20, 2026perl 5.40.2#1936.49×9.1% slower
Oct 19, 2026perl 5.40.2unranked33.44×–