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 HiPE70.4418.0326,640747  97% 98% 98% 98%
Python 3837.25211.8543,784437  99% 99% 99% 99%
 binary-trees 
Erlang HiPE68.8219.05965,168499  93% 93% 87% 89%
Python 3488.80129.60835,824596  93% 94% 98% 93%
 n-body 
Erlang HiPE185.00185.0317,8281399  1% 0% 99% 1%
Python 3876.05876.277,8481228  0% 1% 100% 1%
 fannkuch-redux 
Erlang HiPE487.44124.5915,7321038  99% 99% 94% 100%
Python 31,981.89505.4239,992944  99% 97% 100% 97%
 fasta 
Erlang HiPE30.9030.9019,9121164  91% 9% 0% 1%
Python 396.3096.335,628977  1% 100% 0% 0%
 mandelbrot 
Erlang HiPE572.20149.611,125,164613  96% 95% 97% 95%
Python 3956.49239.6042,456686  100% 100% 100% 100%
 regex-dna 
Erlang HiPE34.609.60434,1721058  90% 92% 91% 88%
Python 322.8910.29259,568478  71% 38% 39% 75%
 k-nucleotide 
Erlang HiPE366.79138.451,019,072932  61% 56% 65% 86%
Python 3272.6073.07226,1441937  92% 93% 94% 97%
 reverse-complement 
Erlang HiPE20.7110.53947,6881302  42% 75% 38% 43%
Python 34.402.95262,292800  21% 81% 2% 48%
 pidigits 
Erlang HiPE16.4315.9429,812512  67% 32% 2% 3%
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 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