/mobile Handheld Friendly website

÷

 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 7 program.


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 7 program.

 Erlang HiPE used what fraction? used how many times more? 
Benchmark Time Memory Code
 binary-trees±1/2
 spectral-norm±±
 pidigits †1/21/4
 regex-dna1/3±
 fannkuch-redux1/2±
 n-body1/2±
 reverse-complement±
 fasta10×1/2±
 k-nucleotide11×1/2
 mandelbrot16×10×±
 Erlang HiPE used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)10×16×16×

† possible mismatch - one-core program compared to multi-core program.

± 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 7 program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 binary-trees 
Erlang HiPE52.6316.82646,636499  89% 75% 70% 81%
Java 721.359.21525,4201007  50% 70% 48% 65%
 spectral-norm 
Erlang HiPE45.0111.5114,436747  99% 98% 98% 98%
Java 716.394.2114,740950  97% 97% 98% 99%
 pidigits 
Erlang HiPE24.1923.2021,200512  78% 0% 5% 22% †
Java 711.755.1246,4881826  70% 67% 56% 39% †
 regex-dna 
Erlang HiPE185.5452.36208,5721058  82% 97% 95% 80%
Java 727.099.43708,060929  65% 83% 78% 63%
 fannkuch-redux 
Erlang HiPE404.65104.748,1801038  95% 99% 99% 94%
Java 767.9117.1714,4601282  98% 99% 100% 100%
 n-body 
Erlang HiPE162.90162.958,4281399  13% 87% 0% 0%
Java 724.4124.3913,9761424  0% 0% 0% 100%
 reverse-complement 
Erlang HiPE21.6611.71762,6001302  80% 40% 26% 40%
Java 72.931.52294,7841661  32% 59% 58% 47%
 fasta 
Erlang HiPE49.7449.758,7881164  0% 100% 0% 1%
Java 75.074.9914,9761507  2% 0% 100% 1%
 k-nucleotide 
Erlang HiPE367.66137.89864,700932  99% 48% 49% 72%
Java 744.8312.93494,2641602  84% 81% 85% 99%
 mandelbrot 
Erlang HiPE393.85107.28662,920534  94% 92% 91% 92%
Java 727.146.9067,612796  98% 98% 99% 99%
 fasta-redux 
No program
Java 70.130.11?1443  0% 18% 0% 91%

† possible mismatch - one-core program compared to multi-core program.

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

Remember - those are just the fastest Erlang HiPE and Java 7 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 7 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] [smp:4:4] [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