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

† 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 HiPE47.4812.0922,836747  99% 98% 98% 98%
Python 3821.48209.7643,728437  98% 98% 98% 98%
 n-body 
Erlang HiPE125.85125.8813,1441399  79% 21% 0% 0%
Python 3939.20939.505,5641181  1% 0% 0% 100%
 fannkuch-redux 
Erlang HiPE493.55125.7312,8721038  99% 100% 97% 97%
Python 33,587.04915.3640,096797  98% 97% 100% 97%
 mandelbrot 
Erlang HiPE274.0377.841,269,512534  88% 96% 85% 84%
Python 31,760.17475.3710,556777  90% 100% 90% 90%
 fasta 
Erlang HiPE29.4329.4314,1641164  86% 0% 14% 0%
Python 3161.75166.415,576788  25% 27% 16% 34%
 binary-trees 
Erlang HiPE69.7228.011,028,396499  52% 57% 47% 95%
Python 3531.55140.741,123,020626  98% 94% 94% 94%
 k-nucleotide 
Erlang HiPE376.69143.111,133,724932  68% 78% 64% 60%
Python 3374.51124.40498,756647  59% 58% 87% 98%
 reverse-complement 
Erlang HiPE19.939.98975,1241302  32% 33% 57% 80% †
Python 35.925.941,008,592325  1% 1% 1% 100% †
 regex-dna 
Erlang HiPE182.8147.68337,0961058  92% 96% 99% 97%
Python 322.9810.42269,120478  40% 48% 83% 55%
 pidigits 
Erlang HiPE16.4715.5727,604512  1% 5% 99% 1%
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 R16B (erts-5.10.1) [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