/mobile Handheld Friendly website

÷

 Step 1 : Are the Perl programs faster? At a glance.

This chart shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.

Each chart bar shows, for one unidentified benchmark, how much the fastest Perl program used compared to the fastest Java 7 -server program.


Look at speed another way - look at a box plot of Time-used data.

 Step 2 : Are the Perl programs faster? Approximately.

This table shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.

Each table row shows, for one named benchmark, how much the fastest Perl program used compared to the fastest Java 7 -server program.

 Perl used what fraction? used how many times more? 
Benchmark Time Memory Code
 pidigits±1/141/5
 regex-dna±1/41/2
 reverse-complement±1/3
 k-nucleotide1/7
 binary-trees38×±±
 fannkuch-redux48×1/111/3
 fasta49×1/81/2
 spectral-norm56×1/5±
 n-body60×1/8±
 mandelbrot108×1/271/2
 Perl used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±43×56×108×108×

± read the measurements and then read the program source code.

 Step 3 : Are the Perl programs faster? Measurements.

This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ≈ CPU Load ~ speed and size.

For each named benchmark, measurements of the fastest Perl program are shown for comparison against measurements of the fastest Java 7 -server program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 pidigits 
Perl5.555.553,832385  0% 0% 0% 100%
Java 7 -server6.006.0153,7681826  1% 0% 0% 100%
 regex-dna 
Perl28.9629.03139,976527  0% 0% 0% 100%
Java 7 -server22.9523.00561,4361284  0% 0% 0% 100%
 reverse-complement 
Perl2.852.87374,416284  1% 1% 0% 100%
Java 7 -server1.791.83514,512745  2% 1% 2% 100%
 k-nucleotide 
Perl222.16222.31783,240359  0% 0% 0% 100%
Java 7 -server29.0229.10521,8202431  0% 0% 0% 100%
 binary-trees 
Perl624.80625.34480,280448  0% 0% 0% 100%
Java 7 -server16.4416.48499,416603  0% 0% 0% 100%
 fannkuch-redux 
Perl3,370.623,371.751,540457  0% 0% 0% 100%
Java 7 -server69.9669.9917,0201282  0% 0% 0% 100%
 fasta 
Perl252.18252.302,140934  0% 0% 0% 100%
Java 7 -server5.185.1918,0441507  1% 0% 1% 100%
 spectral-norm 
Perl947.33947.683,920343  0% 0% 0% 100%
Java 7 -server16.9917.0018,244514  0% 0% 0% 100%
 n-body 
Perl1,358.331,358.812,0601140  0% 0% 0% 100%
Java 7 -server22.5122.5116,9401424  0% 0% 0% 100%
 mandelbrot 
Perl2,561.572,562.312,588370  0% 0% 0% 100%
Java 7 -server23.7423.7569,696796  0% 0% 0% 100%
 fasta-redux 
No program
Java 7 -server0.120.12?1443  0% 8% 0% 100%

 Step 4 : Are there other Perl programs for these benchmarks?

Remember - those are just the fastest Perl and Java 7 -server programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Perl.

Maybe one of those other Perl programs is fastest on a different OS/machine.

 Step 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Perl and Java 7 -server programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.

Maybe one of those other programs is fastest on a different OS/machine.

 Perl : server-side shell & cgi scripts 

This is perl 5, version 14, subversion 1 (v5.14.1) built for x86_64-linux

Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF

optimize='-O2'

Compare to built for x86_64-linux-gnu-thread-multi

Home Page: http://www.perl.org/

Download: http://www.cpan.org/src/5.0/

Revised BSD license

  Home   Conclusions   License   Help