The Computer Language
Benchmarks Game

all Matz's Ruby programs & measurements

ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
 
So old that I haven't been able to get rubygems to work
no backport, no gmp

source secs N mem gz cpu cpu load
binary-trees  0.58  7 8 376 0.02 47% 7% 17% 30%
binary-trees  3.87  14 19,108 376 3.86 1% 2% 4% 100%
binary-trees  1,836.23  21 1,558,448 376 1,834.16 77% 1% 1% 24%
source secs N mem gz cpu cpu load
binary-trees  #4 0.44  7 8 364 0.02 69% 2% 0% 23%
binary-trees  #4 3.36  14 19,060 364 3.36 0% 5% 5% 100%
binary-trees  #4 1,730.74  21 1,558,556 364 1,728.77 100% 0% 1% 0%
source secs N mem gz cpu cpu load
binary-trees  #2 0.48  7 8 378 0.02 0% 78% 19% 6%
binary-trees  #2 3.88  14 19,208 378 3.88 0% 100% 5% 0%
binary-trees  #2 1,830.38  21 1,558,496 378 1,828.17 11% 1% 1% 88%
source secs N mem gz cpu cpu load
binary-trees  #5 0.66  7 8 1096 0.03 35% 0% 2% 55%
binary-trees  #5 1.31  14 83,892 1096 3.63 95% 51% 88% 52%
binary-trees  #5 Failed  21
source secs N mem gz cpu cpu load
binary-trees  #3 0.44  7 8 400 0.02 28% 2% 2% 24%
binary-trees  #3 3.85  14 12,732 400 3.84 2% 7% 1% 100%
binary-trees  #3 1,268.05  21 839,888 400 1,266.86 60% 0% 40% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  104.54  10 4,680 384 103.20 99% 1% 2% 1%
fannkuch-redux  1,400.89  11 4,732 384 1,400.43 1% 14% 86% 0%
fannkuch-redux  19,852.99  12 4,736 384 19,846.11 23% 8% 29% 40%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 36.64  10 4,160 1444 138.81 98% 98% 98% 88%
fannkuch-redux  #2 464.56  11 19,164 1444 1,792.88 95% 98% 98% 96%
fannkuch-redux  #2 6,692.98  12 19,320 1444 25,910.34 97% 99% 97% 96%
source secs N mem gz cpu cpu load
fasta  #4 5.86  250,000 5,964 913 5.33 6% 3% 0% 93%
fasta  #4 53.11  2,500,000 29,476 913 53.06 2% 0% 0% 100%
fasta  #4 537.40  25,000,000 275,620 913 536.64 1% 0% 100% 1%
source secs N mem gz cpu cpu load
fasta  #5 6.22  250,000 4,324 995 5.75 7% 1% 1% 95%
fasta  #5 57.01  2,500,000 4,352 995 56.99 0% 2% 100% 0%
fasta  #5 584.80  25,000,000 4,344 995 584.34 6% 65% 14% 17%
source secs N mem gz cpu cpu load
fasta  #3 5.19  250,000 4,896 1020 4.85 6% 95% 1% 1%
fasta  #3 49.13  2,500,000 9,348 1020 49.09 2% 62% 38% 1%
fasta  #3 477.60  25,000,000 101,796 1020 476.84 13% 85% 0% 3%
source secs N mem gz cpu cpu load
fasta  #6 5.40  250,000 4,944 1071 4.99 37% 0% 1% 65%
fasta  #6 48.82  2,500,000 9,284 1071 48.80 1% 98% 4% 0%
fasta  #6 497.49  25,000,000 101,864 1071 496.78 56% 32% 1% 14%
source secs N mem gz cpu cpu load
fasta  #2 7.59  250,000 6,704 743 7.01 0% 5% 98% 0%
fasta  #2 69.79  2,500,000 27,696 743 69.77 0% 1% 1% 100%
fasta  #2 698.45  25,000,000 248,184 743 698.23 0% 5% 96% 0%
source secs N mem gz cpu cpu load
k-nucleotide  #2 9.70  250,000 45,680 420 9.15 99% 0% 0% 2%
k-nucleotide  #2 89.12  2,500,000 58,084 420 88.98 0% 0% 1% 100%
k-nucleotide  #2 913.62  25,000,000 168,304 420 912.58 62% 1% 2% 37%
source secs N mem gz cpu cpu load
k-nucleotide  #3 14.19  250,000 47,668 540 13.48 23% 78% 3% 1%
k-nucleotide  #3 137.18  2,500,000 58,576 540 137.04 54% 33% 14% 0%
k-nucleotide  #3 1,379.01  25,000,000 168,504 540 1,377.83 4% 54% 36% 7%
source secs N mem gz cpu cpu load
k-nucleotide  #7 13.20  250,000 56,032 870 39.23 59% 95% 58% 92%
k-nucleotide  #7 118.39  2,500,000 83,532 870 378.19 75% 65% 98% 90%
k-nucleotide  #7 1,167.64  25,000,000 435,660 870 3,818.83 80% 88% 78% 84%
source secs N mem gz cpu cpu load
k-nucleotide  3.81  250,000 6,072 644 10.36 61% 56% 91% 91%
k-nucleotide  31.57  2,500,000 16,980 644 103.12 84% 66% 98% 79%
k-nucleotide  314.56  25,000,000 127,080 644 1,032.20 93% 81% 82% 73%
mandelbrot  #7 Failed  1,000
source secs N mem gz cpu cpu load
mandelbrot  #2 16.66  1,000 28,936 931 64.71 98% 97% 97% 99%
mandelbrot  #2 261.11  4,000 35,284 931 1,043.07 100% 100% 100% 100%
mandelbrot  #2 4,299.88  16,000 68,672 931 17,170.33 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 17.89  1,000 13,080 918 67.64 97% 96% 95% 96%
mandelbrot  #6 256.21  4,000 40,712 918 1,020.58 100% 100% 100% 100%
mandelbrot  #6 5,008.75  16,000 783,136 918 19,626.87 99% 98% 98% 98%
source secs N mem gz cpu cpu load
mandelbrot  #5 29.56  1,000 17,396 1037 58.91 100% 100% 100% 100%
mandelbrot  #5 Failed  4,000
source secs N mem gz cpu cpu load
mandelbrot  #4 58.04  1,000 7,124 846 57.15 1% 99% 2% 1%
mandelbrot  #4 1,090.46  4,000 17,948 846 1,089.52 17% 1% 9% 76%
mandelbrot  #4 Timed Out  16,000
source secs N mem gz cpu cpu load
mandelbrot  #3 56.36  1,000 3,856 307 55.82 1% 2% 2% 100%
mandelbrot  #3 897.24  4,000 3,888 307 896.98 0% 81% 20% 0%
mandelbrot  #3 14,096.25  16,000 3,880 307 14,092.11 43% 39% 10% 10%
source secs N mem gz cpu cpu load
n-body  #2 44.83  500,000 3,836 1137 43.97 2% 1% 2% 99%
n-body  #2 452.49  5,000,000 4,060 1137 452.35 0% 100% 0% 1%
n-body  #2 4,386.74  50,000,000 4,084 1137 4,385.35 65% 0% 0% 35%
pidigits  #5 Failed  2,000
pidigits  #2 Failed  2,000
source secs N mem gz cpu cpu load
pidigits  1.71  2,000 13,048 518 1.13 2% 94% 18% 0%
pidigits  10.24  6,000 14,860 518 10.22 1% 0% 0% 100%
pidigits  29.43  10,000 18,384 518 29.37 100% 0% 0% 0%
regex-redux  #2 Bad Output  50,000
regex-redux  #9 Bad Output  50,000
regex-redux  #3 Bad Output  50,000
reverse-complement  #5 Failed  250,000
reverse-complement  #3 Bad Output  250,000
source secs N mem gz cpu cpu load
reverse-complement  #2 0.59  250,000 8 264 0.12 91% 3% 3% 15%
reverse-complement  #2 38.45  100,000,000 492,804 264 38.42 100% 0% 1% 0%
reverse-complement  Failed  250,000
reverse-complement  #4 Failed  250,000
source secs N mem gz cpu cpu load
spectral-norm  20.68  500 4,656 292 20.27 0% 1% 2% 98%
spectral-norm  729.41  3,000 4,732 292 729.17 30% 1% 47% 24%
spectral-norm  2,377.68  5,500 6,080 292 2,376.76 98% 0% 2% 1%
source secs N mem gz cpu cpu load
spectral-norm  #5 8.34  500 5,708 839 26.92 89% 85% 86% 86%
spectral-norm  #5 258.52  3,000 21,196 839 1,005.70 97% 98% 98% 97%
spectral-norm  #5 973.55  5,500 21,068 839 3,831.63 99% 98% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #4 22.78  500 4,576 326 22.17 2% 0% 1% 99%
spectral-norm  #4 816.87  3,000 4,544 326 816.65 0% 100% 0% 0%
spectral-norm  #4 2,767.69  5,500 6,072 326 2,766.83 66% 34% 0% 0%