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

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 : Approximately - Are the Erlang HiPE programs faster?

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

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

 3 : Measurements - Are the Erlang HiPE programs faster?

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 HiPE71.1218.3928,684747  96% 97% 97% 97%
Python 3837.25211.8543,784437  99% 99% 99% 99%
 binary-trees 
Erlang HiPE71.4219.54908,280499  96% 89% 92% 91%
Python 3488.80129.60835,824596  93% 94% 98% 93%
 n-body 
Erlang HiPE193.28193.3319,3961399  1% 1% 1% 100%
Python 3876.05876.277,8481228  0% 1% 100% 1%
 fannkuch-redux 
Erlang HiPE470.74119.2920,3401038  100% 99% 98% 99%
Python 31,981.89505.4239,992944  99% 97% 100% 97%
 fasta 
Erlang HiPE34.5932.9921,6841164  84% 14% 2% 6%
Python 396.3096.335,628977  1% 100% 0% 0%
 mandelbrot 
Erlang HiPE501.64131.961,370,444613  95% 95% 96% 95%
Python 3956.49239.6042,456686  100% 100% 100% 100%
 regex-dna 
Erlang HiPE35.9110.42383,6441058  88% 82% 90% 85%
Python 322.8910.29259,568478  71% 38% 39% 75%
 k-nucleotide 
Erlang HiPE398.80152.521,126,548932  59% 79% 57% 69%
Python 3272.6073.07226,1441937  92% 93% 94% 97%
 reverse-complement 
Erlang HiPE21.1610.83859,3001302  33% 92% 30% 42%
Python 34.402.95262,292800  21% 81% 2% 48%
 pidigits 
Erlang HiPE17.3215.8936,164512  82% 14% 8% 7%
Python 32.212.216,744335  1% 100% 0% 1%
 fasta-redux
   No programs

 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 18 [erts-7.0] [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