/mobile Handheld Friendly website
Ubuntu : Intel® Q6600® one core |
Each chart bar shows, for one unidentified benchmark, how much the fastest Erlang HiPE program used compared to the fastest Java 7 program.
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.
Each table row shows, for one named benchmark, how much the fastest Erlang HiPE program used compared to the fastest Java 7 program.
| Erlang HiPE used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
| spectral-norm | 3× | ± | ± | |
| binary-trees | 3× | ± | ± | |
| pidigits | 3× | 1/3 | 1/4 | |
| regex-dna | 5× | 1/4 | ± | |
| k-nucleotide | 5× | 2× | 1/2 | |
| fannkuch-redux | 5× | 1/2 | ± | |
| n-body | 7× | 1/2 | ± | |
| fasta | 10× | 1/2 | ± | |
| reverse-complement | 11× | ± | 2× | |
| mandelbrot | 14× | 9× | ± | |
| Erlang HiPE used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (Elapsed secs) | 3× | 3× | 3× | 5× | 10× | 14× | 14× |
± read the measurements and then read the program source code.
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 Java 7 program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ≈ CPU Load |
|---|---|---|---|---|---|
| spectral-norm | |||||
| Erlang HiPE | 45.12 | 45.13 | 10,164 | 747 | 0% 0% 0% 100% |
| Java 7 | 16.13 | 16.14 | 14,924 | 950 | 1% 0% 0% 100% |
| binary-trees | |||||
| Erlang HiPE | 47.57 | 47.63 | 338,644 | 499 | 0% 0% 0% 100% |
| Java 7 | 15.70 | 15.75 | 506,592 | 603 | 0% 1% 0% 100% |
| pidigits | |||||
| Erlang HiPE | 23.23 | 23.26 | 15,100 | 512 | 0% 0% 0% 100% |
| Java 7 | 7.33 | 7.34 | 47,440 | 1826 | 0% 0% 0% 100% |
| regex-dna | |||||
| Erlang HiPE | 114.18 | 114.22 | 145,476 | 1058 | 0% 0% 0% 100% |
| Java 7 | 22.63 | 22.66 | 557,080 | 1284 | 0% 0% 0% 100% |
| k-nucleotide | |||||
| Erlang HiPE | 267.32 | 267.52 | 1,045,072 | 932 | 0% 0% 0% 100% |
| Java 7 | 50.69 | 50.73 | 494,040 | 1630 | 1% 0% 0% 100% |
| fannkuch-redux | |||||
| Erlang HiPE | 379.68 | 379.80 | 7,644 | 1038 | 0% 0% 0% 100% |
| Java 7 | 71.26 | 71.28 | 13,936 | 1282 | 0% 0% 0% 100% |
| n-body | |||||
| Erlang HiPE | 167.57 | 167.61 | 7,632 | 1399 | 0% 0% 0% 100% |
| Java 7 | 24.40 | 24.41 | 13,996 | 1424 | 0% 0% 0% 100% |
| fasta | |||||
| Erlang HiPE | 49.98 | 50.00 | 7,632 | 1164 | 0% 0% 0% 100% |
| Java 7 | 4.92 | 4.92 | 14,932 | 1507 | 0% 1% 0% 100% |
| reverse-complement | |||||
| Erlang HiPE | 21.24 | 21.26 | 563,348 | 1302 | 0% 0% 0% 100% |
| Java 7 | 1.88 | 1.92 | 511,484 | 745 | 2% 1% 3% 100% |
| mandelbrot | |||||
| Erlang HiPE | 370.80 | 370.98 | 634,912 | 534 | 0% 0% 0% 100% |
| Java 7 | 26.92 | 26.93 | 67,880 | 796 | 0% 0% 0% 100% |
| fasta-redux | |||||
| Java 7 | 0.12 | 0.12 | ? | 1443 | 0% 33% 0% 100% |
Remember - those are just the fastest Erlang HiPE and Java 7 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.
Remember - those are just the fastest Erlang HiPE and Java 7 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.
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] [async-threads:10] [hipe] [kernel-poll:false]
Home Page: http://www.erlang.org/
Download: http://www.erlang.org/download.html