The Computer Language
Benchmarks Game

all Matz's Interpreter programs & measurements

ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]

source secs N mem gz cpu cpu load
binary-trees  0.02  7 ? 376 0.02 0% 0% 100% 33%
binary-trees  3.90  14 19,100 376 3.90 0% 1% 100% 0%
binary-trees  1,889.87  21 1,558,452 376 1,888.23 1% 31% 56% 13%
source secs N mem gz cpu cpu load
binary-trees  #4 0.02  7 ? 364 0.02 0% 100% 0% 0%
binary-trees  #4 3.36  14 18,800 364 3.36 100% 1% 1% 1%
binary-trees  #4 1,793.24  21 1,558,800 364 1,791.69 0% 3% 8% 91%
source secs N mem gz cpu cpu load
binary-trees  #2 0.02  7 ? 378 0.02 0% 67% 0% 50%
binary-trees  #2 3.88  14 18,796 378 3.88 0% 100% 1% 0%
binary-trees  #2 1,891.47  21 1,558,476 378 1,889.83 15% 52% 12% 22%
binary-trees  #5 Failed  7
source secs N mem gz cpu cpu load
binary-trees  #3 0.13  7 ? 400 ? 33% 43% 54% 50%
binary-trees  #3 3.89  14 12,712 400 3.89 1% 2% 100% 0%
binary-trees  #3 1,307.57  21 839,892 400 1,306.59 23% 20% 30% 29%
chameneos-redux  Failed  60,000
source secs N mem gz cpu cpu load
fannkuch-redux  101.55  10 4,668 384 101.52 12% 12% 77% 0%
fannkuch-redux  1,376.62  11 4,688 384 1,376.23 0% 11% 90% 0%
fannkuch-redux  20,154.11  12 4,648 384 20,148.46 21% 45% 13% 22%
fannkuch-redux  #2 Failed  10
source secs N mem gz cpu cpu load
fasta  #4 5.09  250,000 5,996 913 5.08 0% 1% 100% 0%
fasta  #4 51.48  2,500,000 29,624 913 51.46 0% 0% 1% 100%
fasta  #4 531.81  25,000,000 275,524 913 531.37 68% 0% 1% 32%
source secs N mem gz cpu cpu load
fasta  #5 5.81  250,000 4,468 995 5.81 0% 2% 100% 0%
fasta  #5 55.58  2,500,000 4,316 995 55.56 92% 14% 4% 1%
fasta  #5 556.96  25,000,000 4,372 995 556.23 2% 41% 12% 47%
fasta  #3 Failed  250,000
source secs N mem gz cpu cpu load
fasta  #2 6.84  250,000 6,648 743 6.83 0% 1% 100% 1%
fasta  #2 69.87  2,500,000 27,708 743 69.85 0% 26% 75% 0%
fasta  #2 704.41  25,000,000 248,152 743 704.16 39% 15% 7% 44%
source secs N mem gz cpu cpu load
k-nucleotide  #2 8.82  250,000 44,904 420 8.79 0% 0% 0% 100%
k-nucleotide  #2 88.57  2,500,000 58,040 420 88.47 0% 0% 1% 100%
k-nucleotide  #2 862.59  25,000,000 168,116 420 861.76 57% 0% 1% 43%
source secs N mem gz cpu cpu load
k-nucleotide  #3 13.29  250,000 47,584 540 13.29 100% 0% 1% 1%
k-nucleotide  #3 134.79  2,500,000 58,612 540 134.73 100% 0% 1% 0%
k-nucleotide  #3 1,354.55  25,000,000 168,380 540 1,353.92 32% 25% 43% 0%
k-nucleotide  #7 Failed  250,000
source secs N mem gz cpu cpu load
k-nucleotide  3.18  250,000 85,028 637 10.33 99% 91% 69% 67%
k-nucleotide  30.84  2,500,000 17,076 637 101.16 68% 65% 100% 96%
k-nucleotide  308.82  25,000,000 126,784 637 1,016.19 67% 92% 72% 98%
source secs N mem gz cpu cpu load
mandelbrot  #2 16.27  1,000 28,124 925 64.87 100% 100% 100% 100%
mandelbrot  #2 260.14  4,000 34,584 925 1,039.33 100% 100% 100% 100%
mandelbrot  #2 4,384.81  16,000 68,012 925 17,515.12 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 17.05  1,000 24,372 918 66.71 99% 98% 98% 98%
mandelbrot  #6 260.04  4,000 38,644 918 1,035.22 100% 100% 100% 100%
mandelbrot  #6 4,995.03  16,000 262,872 918 19,589.41 98% 98% 98% 99%
mandelbrot  #5 Failed  1,000
source secs N mem gz cpu cpu load
meteor-contest  33.69  2,098 6,028 2768 33.68 0% 100% 1% 0%
source secs N mem gz cpu cpu load
meteor-contest  #2 23.56  2,098 5,752 2786 23.55 100% 1% 1% 0%
source secs N mem gz cpu cpu load
n-body  #2 45.40  500,000 3,944 1137 45.38 0% 1% 100% 0%
n-body  #2 438.36  5,000,000 3,936 1137 438.26 100% 1% 1% 0%
n-body  #2 4,519.81  50,000,000 3,972 1137 4,518.80 56% 1% 1% 44%
pidigits  #5 Failed  2,000
pidigits  #2 Failed  2,000
source secs N mem gz cpu cpu load
pidigits  1.11  2,000 12,676 518 1.11 0% 100% 1% 0%
pidigits  10.12  6,000 14,816 518 10.11 0% 72% 28% 0%
pidigits  28.96  10,000 16,904 518 28.91 100% 0% 1% 0%
regex-redux  #2 Bad Output  50,000
regex-redux  #6 Failed  50,000
regex-redux  #9 Bad Output  50,000
regex-redux  #8 Failed  50,000
source secs N mem gz cpu cpu load
reverse-complement  #3 0.11  250,000 ? 517 0.09 9% 33% 27% 10%
reverse-complement  #3 0.51  2,500,000 100,564 517 0.83 39% 41% 34% 52%
reverse-complement  #3 5.62  25,000,000 506,888 517 9.05 19% 32% 35% 77%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.12  250,000 ? 264 0.11 100% 0% 0% 0%
reverse-complement  #2 1.06  2,500,000 24,588 264 1.03 99% 0% 0% 1%
reverse-complement  #2 9.56  25,000,000 126,664 264 9.55 0% 1% 100% 0%
reverse-complement  Failed  250,000
source secs N mem gz cpu cpu load
spectral-norm  20.20  500 4,364 292 20.19 0% 1% 100% 0%
spectral-norm  749.04  3,000 4,728 292 748.88 73% 0% 1% 27%
spectral-norm  2,454.33  5,500 5,948 292 2,453.62 27% 25% 8% 42%
source secs N mem gz cpu cpu load
spectral-norm  #5 7.39  500 18,868 835 27.15 93% 94% 91% 90%
spectral-norm  #5 261.83  3,000 22,484 835 1,018.43 97% 98% 97% 97%
spectral-norm  #5 962.70  5,500 21,704 835 3,795.80 98% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #4 23.08  500 4,360 326 23.08 100% 0% 1% 0%
spectral-norm  #4 815.17  3,000 4,548 326 814.95 0% 98% 3% 0%
spectral-norm  #4 2,743.93  5,500 6,004 326 2,743.24 95% 0% 1% 5%
thread-ring  Failed  500,000
source secs N mem gz cpu cpu load
thread-ring  #2 18.83  500,000 10,604 215 18.82 0% 100% 1% 0%
thread-ring  #2 188.90  5,000,000 12,892 215 188.81 0% 97% 4% 0%
thread-ring  #2 1,897.10  50,000,000 16,900 215 1,896.35 70% 2% 2% 27%