/mobile Handheld Friendly website

vs

 1 : Are the Erlang HiPE programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest Erlang HiPE program used compared to the fastest Java program.

(Memory use is only compared for tasks that require memory to be allocated.)


These are not the only compilers and interpreters. These are not the only programs that could be written. These are not the only tasks that could be solved. These are just 10 tiny examples.

 2 : Are the Erlang HiPE programs faster? Approximately.

Each table row shows, for one named benchmark, how much the fastest Erlang HiPE program used compared to the fastest Java program.

(Memory use is only compared for tasks that require memory to be allocated.)

 Erlang HiPE used what fraction? used how many times more? 
Benchmark Time Memory Code
 spectral-norm ±
 binary-trees1/2±
 k-nucleotide±1/2
 regex-dna1/4±
 fannkuch-redux ±
 pidigits 1/2
 n-body ±
 fasta10× ±
 reverse-complement11×±
 mandelbrot14× ±
 Erlang HiPE used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)10×14×14×

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

 3 : Are the Erlang HiPE programs faster? Measurements.

These are not the only tasks that could be solved. These are just 10 tiny examples. These are not the only compilers and interpreters. These are not the only programs that could be written.

For each named benchmark, measurements of the fastest Erlang HiPE program are shown for comparison against measurements of the fastest Java program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 spectral-norm 
Erlang HiPE45.1245.1310,164747  0% 0% 0% 100%
Java16.2616.2716,416950  1% 1% 0% 100%
 binary-trees 
Erlang HiPE47.5747.63338,644499  0% 0% 0% 100%
Java16.2816.30511,448584  1% 1% 0% 100%
 k-nucleotide 
Erlang HiPE267.32267.521,045,072932  0% 0% 0% 100%
Java53.4953.53908,6081630  1% 1% 0% 100%
 regex-dna 
Erlang HiPE114.18114.22145,4761058  0% 0% 0% 100%
Java22.2722.28558,3201284  1% 1% 0% 100%
 fannkuch-redux 
Erlang HiPE379.68379.807,6441038  0% 0% 0% 100%
Java67.4067.4315,7201282  1% 1% 0% 100%
 pidigits 
Erlang HiPE23.2323.2615,100512  0% 0% 0% 100%
Java4.124.1318,024938  1% 1% 1% 100%
 n-body 
Erlang HiPE167.57167.617,6321399  0% 0% 0% 100%
Java24.5424.5515,6041424  0% 0% 1% 100%
 fasta 
Erlang HiPE49.9850.007,6321164  0% 0% 0% 100%
Java5.085.0916,3881507  0% 1% 1% 100%
 reverse-complement 
Erlang HiPE21.2421.26563,3481302  0% 0% 0% 100%
Java1.961.97513,448745  1% 2% 0% 100%
 mandelbrot 
Erlang HiPE370.80370.98634,912534  0% 0% 0% 100%
Java27.0027.0170,076796  0% 0% 1% 100%
 fasta-redux 
No program
Java0.180.19?1443  0% 0% 0% 100%

 4 : Are there other Erlang HiPE programs for these benchmarks?

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

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

 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Erlang HiPE and Java 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.

 Erlang HiPE : concurrent real-time distributed fault-tolerant software 

"Four-fold Increase in Productivity and Quality: Industrial-Strength Functional Programming in Telecom-Class Products" pdf

All you wanted to know about the HiPE compile (but might have been afraid to ask)

The development of the HiPE system: design and experience report

Erlang R16B (erts-5.10.1) [source] [async-threads:10] [hipe] [kernel-poll:false]

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

Download: http://www.erlang.org/download.html

Revised BSD license

  Home   Conclusions   License   Play