The Computer Language
24.11 Benchmarks Game

all Matz's Ruby programs & measurements

ruby 1.8.7
(2014-01-28
patchlevel 376)
[x86_64-linux]

source secs N mem gz cpu secs cpu load
binary-trees  #5 0.37  7 19,688 1016 0.02 5% 2% 0% 2%
binary-trees  #5 0.71  14 19,688 1016 1.97 55% 88% 45% 90%
binary-trees  #5 336.77  21 1,559,164 1016 1,066.65 74% 73% 96% 72%
source secs N mem gz cpu secs cpu load
binary-trees  0.19  7 19,688 383 0.02 5% 15% 0% 5%
binary-trees  2.21  14 19,688 383 2.20 100% 0% 0% 0%
binary-trees  791.07  21 1,558,912 383 791.00 25% 0% 0% 74%
source secs N mem gz cpu secs cpu load
binary-trees  #3 0.21  7 19,864 407 0.02 0% 10% 0% 0%
binary-trees  #3 2.25  14 19,864 407 2.25 0% 0% 1% 99%
binary-trees  #3 592.42  21 840,268 407 592.35 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #8 0.19  7 19,436 494 0.04 0% 20% 0% 5%
binary-trees  #8 5.22  14 32,256 494 5.22 0% 100% 0% 0%
binary-trees  #8 Timed Out  21
source secs N mem gz cpu secs cpu load
binary-trees  #4 0.17  7 19,864 371 0.02 11% 0% 0% 0%
binary-trees  #4 1.84  14 19,864 371 1.84 0% 0% 1% 100%
binary-trees  #4 723.77  21 1,559,040 371 723.68 96% 3% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.32  7 19,688 385 0.02 0% 0% 9% 3%
binary-trees  #2 2.22  14 19,688 385 2.22 0% 100% 0% 0%
binary-trees  #2 791.39  21 1,559,040 385 791.30 94% 1% 0% 4%
source secs N mem gz cpu secs cpu load
fannkuch-redux  58.51  10 19,856 391 58.31 0% 0% 99% 0%
fannkuch-redux  803.01  11 19,856 391 802.90 0% 0% 0% 100%
fannkuch-redux  11,546.89  12 19,856 391 11,545.67 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #2 22.91  10 19,856 1462 87.01 98% 96% 89% 96%
fannkuch-redux  #2 288.77  11 19,856 1462 1,116.48 100% 93% 95% 97%
fannkuch-redux  #2 4,344.60  12 19,856 1462 16,709.41 99% 93% 94% 97%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #8 94.57  10 19,348 418 94.39 36% 43% 20% 0%
fannkuch-redux  #8 1,225.91  11 19,416 418 1,225.72 50% 47% 0% 0%
fannkuch-redux  #8 Timed Out  12
source secs N mem gz cpu secs cpu load
fasta  #2 4.64  250,000 19,688 747 4.37 61% 33% 0% 1%
fasta  #2 44.22  2,500,000 32,636 747 44.21 0% 0% 100% 0%
fasta  #2 429.16  25,000,000 248,360 747 429.13 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #4 3.52  250,000 19,688 864 3.26 0% 0% 92% 2%
fasta  #4 39.29  2,500,000 30,080 864 39.28 100% 0% 0% 0%
fasta  #4 323.36  25,000,000 275,584 864 322.99 97% 2% 0% 0%
fasta  #3 Failed  250,000
fasta  #6 Failed  250,000
source secs N mem gz cpu secs cpu load
fasta  #8 8.63  250,000 19,780 700 8.33 96% 0% 0% 1%
fasta  #8 78.96  2,500,000 19,780 700 78.94 58% 39% 2% 0%
fasta  #8 787.93  25,000,000 19,780 700 787.46 53% 46% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #5 3.82  250,000 19,688 1000 3.65 0% 0% 95% 0%
fasta  #5 35.92  2,500,000 19,688 1000 35.92 100% 0% 0% 0%
fasta  #5 364.88  25,000,000 19,688 1000 364.66 99% 0% 0% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  #3 7.25  250,000 48,000 546 7.02 96% 0% 0% 0%
k-nucleotide  #3 70.66  2,500,000 59,008 546 70.63 100% 0% 0% 0%
k-nucleotide  #3 724.97  25,000,000 168,832 546 724.54 100% 0% 0% 0%
k-nucleotide  #8 Failed  250,000
k-nucleotide  #7 Failed  250,000
source secs N mem gz cpu secs cpu load
k-nucleotide  2.16  250,000 26,412 583 6.21 63% 88% 81% 56%
k-nucleotide  18.89  2,500,000 37,480 583 62.64 72% 97% 65% 98%
k-nucleotide  192.78  25,000,000 147,368 583 625.23 92% 72% 66% 93%
source secs N mem gz cpu secs cpu load
k-nucleotide  #2 5.36  250,000 46,464 426 5.22 1% 0% 97% 0%
k-nucleotide  #2 50.43  2,500,000 58,240 426 49.85 0% 0% 0% 98%
k-nucleotide  #2 494.81  25,000,000 168,320 426 494.52 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #5 10.11  1,000 19,860 978 39.47 98% 98% 98% 98%
mandelbrot  #5 140.09  4,000 19,860 978 559.62 100% 100% 100% 100%
mandelbrot  #5 2,428.42  16,000 68,480 978 9,703.31 100% 100% 100% 100%
source secs N mem gz cpu secs cpu load
mandelbrot  #2 10.36  1,000 19,684 887 39.73 96% 95% 98% 95%
mandelbrot  #2 160.32  4,000 19,684 887 639.87 100% 99% 99% 99%
mandelbrot  #2 2,716.14  16,000 71,168 887 10,848.35 100% 99% 99% 100%
source secs N mem gz cpu secs cpu load
mandelbrot  #4 34.97  1,000 19,860 853 34.68 77% 21% 0% 0%
mandelbrot  #4 634.02  4,000 22,784 853 633.95 0% 0% 0% 100%
mandelbrot  #4 8,970.88  16,000 147,424 853 8,969.84 77% 0% 0% 22%
mandelbrot  #7 Failed  1,000
source secs N mem gz cpu secs cpu load
mandelbrot  #8 39.93  1,000 19,368 364 39.76 36% 25% 37% 0%
mandelbrot  #8 647.18  4,000 19,368 364 647.06 42% 47% 1% 8%
mandelbrot  #8 Timed Out  16,000
source secs N mem gz cpu secs cpu load
mandelbrot  #3 32.66  1,000 19,860 313 32.48 99% 0% 0% 0%
mandelbrot  #3 516.35  4,000 19,860 313 516.33 0% 0% 100% 0%
mandelbrot  #3 8,671.67  16,000 19,860 313 8,671.20 99% 0% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #6 11.51  1,000 19,684 890 41.32 91% 89% 91% 88%
mandelbrot  #6 156.19  4,000 37,504 890 587.88 94% 94% 94% 94%
mandelbrot  #6 2,675.27  16,000 193,792 890 10,067.31 94% 94% 94% 94%
n-body  #7 Failed  500,000
source secs N mem gz cpu secs cpu load
n-body  #2 26.98  500,000 19,860 1143 26.74 99% 1% 1% 0%
n-body  #2 261.20  5,000,000 19,860 1143 261.18 95% 4% 0% 0%
n-body  #2 2,609.93  50,000,000 19,860 1143 2,609.82 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #3 26.59  500,000 19,684 1169 26.41 99% 0% 0% 0%
n-body  #3 264.55  5,000,000 19,684 1169 264.54 0% 0% 100% 0%
n-body  #3 2,638.72  50,000,000 19,684 1169 2,638.61 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
n-body  #8 33.60  500,000 19,436 1160 33.41 0% 0% 0% 99%
n-body  #8 325.46  5,000,000 19,436 1160 325.44 0% 100% 0% 0%
n-body  #8 3,244.16  50,000,000 19,436 1160 3,244.02 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  #5 0.42  2,000 36,864 488 0.14 0% 0% 2% 33%
pidigits  #5 0.61  6,000 161,408 488 0.61 1% 0% 100% 1%
pidigits  #5 1.52  10,000 285,696 488 1.52 88% 2% 0% 12%
pidigits  #2 Failed  2,000
pidigits  Bad Output  2,000
source secs N mem gz cpu secs cpu load
regex-redux  #9 0.64  50,000 19,680 340 0.39 0% 0% 61% 0%
regex-redux  #9 3.97  500,000 31,232 340 3.95 1% 99% 0% 0%
regex-redux  #9 41.08  5,000,000 230,016 340 41.07 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
regex-redux  #2 0.57  50,000 19,680 444 0.38 1% 0% 66% 0%
regex-redux  #2 3.51  500,000 31,384 444 3.47 0% 0% 98% 1%
regex-redux  #2 34.55  5,000,000 230,016 444 34.55 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
regex-redux  #3 0.35  50,000 19,680 730 0.12 50% 25% 22% 20%
regex-redux  #3 1.93  500,000 49,464 730 1.20 33% 38% 94% 38%
regex-redux  #3 16.32  5,000,000 230,016 730 9.46 46% 93% 41% 41%
reverse-complement  Failed  250,000
source secs N mem gz cpu secs cpu load
reverse-complement  #2 0.32  250,000 19,680 272 0.11 0% 31% 3% 3%
reverse-complement  #2 23.61  100,000,001 688,216 272 23.61 58% 41% 0% 0%
reverse-complement  #5 Failed  250,000
source secs N mem gz cpu secs cpu load
reverse-complement  #3 0.31  250,000 19,680 490 0.08 10% 3% 3% 15%
reverse-complement  #3 9.49  100,000,001 3,467,256 490 17.96 76% 50% 33% 30%
reverse-complement  #4 Failed  250,000
source secs N mem gz cpu secs cpu load
spectral-norm  #5 5.71  500 19,680 764 18.87 89% 87% 86% 87%
spectral-norm  #5 196.50  3,000 19,680 764 719.86 91% 91% 91% 93%
spectral-norm  #5 645.49  5,500 19,680 764 2,394.09 94% 91% 92% 93%
source secs N mem gz cpu secs cpu load
spectral-norm  #8 14.06  500 19,440 294 13.86 0% 0% 0% 98%
spectral-norm  #8 499.89  3,000 19,440 294 499.86 0% 100% 0% 0%
spectral-norm  #8 1,673.61  5,500 19,440 294 1,673.54 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
spectral-norm  #4 14.12  500 19,936 333 13.96 0% 0% 98% 0%
spectral-norm  #4 516.66  3,000 19,936 333 516.64 0% 0% 100% 0%
spectral-norm  #4 1,732.01  5,500 19,936 333 1,731.93 0% 0% 100% 0%
startup  Timed Out  200,000
source secs N mem gz cpu secs cpu load
startup  #0 12.94  200,000 19,440 1214 12.94 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
too simple  0.79  1,000,000 19,440 160 0.65 1% 0% 82% 1%
too simple  58.44  100,000,000 19,440 160 58.43 0% 100% 0% 0%
too simple  5,895.37  10,000,000,000 19,440 160 5,895.06 0% 100% 0% 0%