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 Python 3 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 Python 3 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-norm1/12 
 binary-trees1/7±±
 fannkuch-redux1/7 ±
 fasta1/5 ±
 n-body1/5 ±
 mandelbrot1/3 ±
 regex-dna±
 k-nucleotide±±
 reverse-complement †±
 pidigits 
 Erlang HiPE used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/121/121/71/4±

† 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 Python 3 program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 spectral-norm 
Erlang HiPE70.4418.0326,640747  97% 98% 98% 98%
Python 3821.48209.7643,728437  98% 98% 98% 98%
 binary-trees 
Erlang HiPE68.8219.05965,168499  93% 93% 87% 89%
Python 3531.55140.741,123,020626  98% 94% 94% 94%
 fannkuch-redux 
Erlang HiPE487.44124.5915,7321038  99% 99% 94% 100%
Python 33,587.04915.3640,096797  98% 97% 100% 97%
 fasta 
Erlang HiPE30.9030.9019,9121164  91% 9% 0% 1%
Python 3161.75166.415,576788  25% 27% 16% 34%
 n-body 
Erlang HiPE185.00185.0317,8281399  1% 0% 99% 1%
Python 3939.20939.505,5641181  1% 0% 0% 100%
 mandelbrot 
Erlang HiPE590.43159.161,735,152534  94% 92% 94% 93%
Python 31,760.17475.3710,556777  90% 100% 90% 90%
 regex-dna 
Erlang HiPE34.609.60434,1721058  90% 92% 91% 88%
Python 322.9810.42269,120478  40% 48% 83% 55%
 k-nucleotide 
Erlang HiPE366.79138.451,019,072932  61% 56% 65% 86%
Python 3374.51124.40498,756647  59% 58% 87% 98%
 reverse-complement 
Erlang HiPE20.7110.53947,6881302  42% 75% 38% 43% †
Python 35.925.941,008,592325  1% 1% 1% 100% †
 pidigits 
Erlang HiPE16.4315.9429,812512  67% 32% 2% 3%
Python 32.402.416,600256  1% 2% 0% 100%
 fasta-redux
   No programs

† 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 Python 3 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 Python 3 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/OTP 17 [erts-6.2] [source] [64-bit] [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