/mobile Handheld Friendly website

vs

 1 : Are the Erlang programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest Erlang program used compared to the fastest Erlang HiPE 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 programs faster? Approximately.

Each table row shows, for one named benchmark, how much the fastest Erlang program used compared to the fastest Erlang HiPE program.

(Memory use is only compared for tasks that require memory to be allocated.)

 Erlang used what fraction? used how many times more? 
Benchmark Time Memory Code
 reverse-complement±±±
 pidigits± ±
 k-nucleotide±±±
 regex-dna±±±
 binary-trees±±±
 fannkuch-redux ±
 fasta ±
 n-body ±
 spectral-norm ±
 mandelbrot ±
 Erlang used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±±±

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

 3 : Are the Erlang 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 program are shown for comparison against measurements of the fastest Erlang HiPE program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 reverse-complement 
Erlang18.969.61922,5081302  63% 62% 39% 34%
Erlang HiPE19.939.98975,1241302  32% 33% 57% 80%
 pidigits 
Erlang16.0315.6833,568512  2% 1% 1% 99%
Erlang HiPE16.4715.5727,604512  1% 5% 99% 1%
 k-nucleotide 
Erlang429.99157.60996,280932  80% 73% 64% 57%
Erlang HiPE376.69143.111,133,724932  68% 78% 64% 60%
 regex-dna 
Erlang179.8857.58301,5441058  99% 76% 65% 72%
Erlang HiPE182.8147.68337,0961058  92% 96% 99% 97%
 binary-trees 
Erlang122.3734.07828,976499  93% 87% 92% 88%
Erlang HiPE69.7228.011,028,396499  52% 57% 47% 95%
 fannkuch-redux 
Erlang809.70203.7611,7961038  100% 98% 100% 100%
Erlang HiPE493.55125.7312,8721038  99% 100% 97% 97%
 fasta 
Erlang60.5660.5812,2841164  96% 0% 4% 0%
Erlang HiPE29.4329.4314,1641164  86% 0% 14% 0%
 n-body 
Erlang369.67369.7912,0281399  43% 8% 0% 49%
Erlang HiPE125.85125.8813,1441399  79% 21% 0% 0%
 spectral-norm 
Erlang145.6136.7816,772747  99% 99% 99% 99%
Erlang HiPE47.4812.0922,836747  99% 98% 98% 98%
 mandelbrot 
Erlang1,947.12496.611,252,976534  98% 98% 98% 98%
Erlang HiPE274.0377.841,269,512534  88% 96% 85% 84%
 fasta-redux
   No programs

 4 : Are there other Erlang programs for these benchmarks?

Remember - those are just the fastest Erlang and Erlang HiPE programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Erlang.

Maybe one of those other Erlang programs is fastest on a different OS/machine.

 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Erlang and Erlang HiPE 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 : concurrent real-time distributed fault-tolerant software 

"Four-fold Increase in Productivity and Quality: Industrial-Strength Functional Programming in Telecom-Class Products" pdf

Getting Started with Erlang

Erlang R16B (erts-5.10.1) [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false]

Home Page: http://www.erlang.org/

Download: http://www.erlang.org/download.html

Revised BSD license

  Home   Conclusions   License   Play