The Q6600
Benchmarks Game

Erlang HiPE versus Ruby fastest programs

Always look at the source code.

These are only the fastest programs. Look at the other programs. They may seem more-like a fair comparison to you.

spectral-norm
source secs mem gz busy cpu load
Erlang HiPE 16.73 34,356 747 64.19 97% 95% 95% 97%
Ruby 154.65 26,296 839 603.60 98% 98% 97% 97%
binary-trees
source secs mem gz busy cpu load
Erlang HiPE 8.33 468,264 478 25.17 76% 83% 71% 72%
Ruby 44.67 531,624 1096 126.74 79% 60% 73% 72%
fannkuch-redux
source secs mem gz busy cpu load
Erlang HiPE 84.89 24,188 1038 337.93 99% 100% 99% 100%
Ruby 307.68 26,776 1444 1,190.76 98% 95% 96% 98%
mandelbrot
source secs mem gz busy cpu load
Erlang HiPE 109.96 51,676 792 439.44 100% 100% 100% 100%
Ruby 340.43 65,964 931 1,353.94 100% 99% 99% 99%
n-body
source secs mem gz busy cpu load
Erlang HiPE 191.97 24,504 1399 204.49 37% 33% 26% 11%
Ruby 376.42 25,112 1137 401.06 92% 2% 4% 9%
fasta
source secs mem gz busy cpu load
Erlang HiPE 48.18 24,632 1164 52.97 6% 51% 49% 4%
Ruby 51.46 122,960 1069 57.67 20% 22% 47% 23%
reverse-complement
source secs mem gz busy cpu load
Erlang HiPE 41.88 2,600,884 1302 115.39 74% 77% 62% 62%
Ruby 31.78 511,692 264 34.71 5% 54% 47% 4%
k-nucleotide
source secs mem gz busy cpu load
Erlang HiPE 144.25 757,756 937 407.46 91% 66% 62% 63%
Ruby 106.07 145,640 644 387.67 92% 93% 87% 93%
regex-redux
source secs mem gz busy cpu load
Erlang HiPE 60.01 2,136,672 1048 101.58 39% 41% 36% 53%
Ruby 15.85 277,116 724 35.00 93% 39% 41% 48%
pidigits
source secs mem gz busy cpu load
Erlang HiPE 16.33 27,624 562 17.76 9% 4% 3% 93%
Ruby 3.21 369,020 485 5.35 21% 31% 15% 100%
Erlang HiPE

Erlang/OTP 22 [erts-10.7] [source] [64-bit]
[smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]

Ruby

ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]
--jit