/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 C gcc 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 C gcc 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
 binary-trees±±
 spectral-norm ±
 k-nucleotide1/2
 pidigits ±
 fasta10× ±
 fannkuch-redux14× ±
 mandelbrot16× ±
 n-body17× ±
 regex-dna20×1/21/2
 reverse-complement26×
 Erlang HiPE used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±12×17×26×26×

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

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 binary-trees 
Erlang HiPE47.5747.63338,644499  0% 0% 0% 100%
C gcc33.4033.4266,104706  0% 0% 0% 100%
 spectral-norm 
Erlang HiPE45.1245.1310,164747  0% 0% 0% 100%
C gcc7.847.85652569  0% 0% 1% 100%
 k-nucleotide 
Erlang HiPE267.32267.521,045,072932  0% 0% 0% 100%
C gcc39.5339.56153,4362280  0% 1% 1% 100%
 pidigits 
Erlang HiPE23.2323.2615,100512  0% 0% 0% 100%
C gcc2.492.49868448  2% 0% 0% 100%
 fasta 
Erlang HiPE49.9850.007,6321164  0% 0% 0% 100%
C gcc5.045.052961221  1% 0% 1% 100%
 fannkuch-redux 
Erlang HiPE379.68379.807,6441038  0% 0% 0% 100%
C gcc27.2427.253281183  1% 0% 0% 100%
 mandelbrot 
Erlang HiPE370.80370.98634,912534  0% 0% 0% 100%
C gcc22.6022.6130,440799  0% 0% 1% 100%
 n-body 
Erlang HiPE167.57167.617,6321399  0% 0% 0% 100%
C gcc9.939.943441490  0% 0% 1% 100%
 regex-dna 
Erlang HiPE114.18114.22145,4761058  0% 0% 0% 100%
C gcc5.765.77288,8322579  1% 1% 1% 100%
 reverse-complement 
Erlang HiPE21.2421.26563,3481302  0% 0% 0% 100%
C gcc0.820.83248,640741  0% 0% 2% 100%
 fasta-redux 
No program
C gcc0.020.02?1321  0% 0% 0% 67%

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

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