The Computer Language
Benchmarks Game

all Ruby programs & measurements

ruby 2.3.0p0 (2015-12-25 revision 53290) [i686-linux]

source secs N mem gz cpu cpu load
binary-trees  #5 0.52  12 22,996 1123 0.49 10% 20% 23% 98%
binary-trees  #5 9.01  16 53,552 1123 8.99 5% 6% 6% 100%
binary-trees  #5 180.67  20 117,920 1123 180.54 1% 0% 0% 100%
source secs N mem gz cpu cpu load
binary-trees  #3 0.58  12 7,200 439 0.56 0% 0% 100% 100%
binary-trees  #3 11.40  16 19,040 439 11.39 1% 0% 100% 100%
binary-trees  #3 228.37  20 162,880 439 228.24 1% 1% 98% 100%
source secs N mem gz cpu cpu load
binary-trees  #4 0.46  12 6,968 402 0.46 2% 0% 100% 100%
binary-trees  #4 8.63  16 12,308 402 8.62 1% 1% 100% 100%
binary-trees  #4 179.60  20 117,640 402 179.49 1% 1% 100% 100%
source secs N mem gz cpu cpu load
binary-trees  0.57  12 7,052 412 0.56 0% 4% 0% 100%
binary-trees  11.16  16 24,728 412 11.14 1% 0% 0% 100%
binary-trees  224.90  20 206,600 412 224.75 1% 1% 48% 100%
source secs N mem gz cpu cpu load
binary-trees  #2 0.58  12 6,952 413 0.57 3% 0% 100% 100%
binary-trees  #2 11.12  16 24,700 413 11.11 0% 1% 100% 100%
binary-trees  #2 227.46  20 206,596 413 227.34 1% 1% 100% 100%
source secs N mem gz cpu cpu load
chameneos-redux  0.52  60,000 7,152 920 0.52 0% 0% 2% 100%
chameneos-redux  4.54  600,000 7,316 920 4.54 0% 1% 1% 100%
chameneos-redux  44.11  6,000,000 7,448 920 44.10 0% 1% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  13.55  10 6,904 384 13.54 1% 0% 0% 100%
fannkuch-redux  169.76  11 7,016 384 169.70 1% 89% 1% 100%
fannkuch-redux  2,604.22  12 7,112 384 2,603.32 1% 17% 72% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 22.92  10 28,480 1426 22.88 1% 1% 100% 100%
fannkuch-redux  #2 281.97  11 28,036 1426 281.85 1% 1% 100% 100%
fannkuch-redux  #2 Timed Out  12
source secs N mem gz cpu cpu load
fasta  #5 2.07  250,000 7,752 987 2.06 0% 1% 100% 100%
fasta  #5 20.31  2,500,000 7,664 987 20.30 1% 1% 100% 100%
fasta  #5 203.88  25,000,000 7,532 987 203.78 1% 1% 100% 100%
source secs N mem gz cpu cpu load
fasta  #2 2.94  250,000 9,404 732 2.94 0% 1% 100% 100%
fasta  #2 27.86  2,500,000 25,704 732 27.85 1% 1% 100% 100%
fasta  #2 282.05  25,000,000 131,524 732 281.93 1% 1% 100% 100%
source secs N mem gz cpu cpu load
fasta  #4 2.08  250,000 7,636 904 2.07 0% 2% 100% 100%
fasta  #4 19.67  2,500,000 20,968 904 19.66 1% 1% 100% 100%
fasta  #4 197.80  25,000,000 197,072 904 197.62 1% 1% 100% 100%
source secs N mem gz cpu cpu load
fasta  #3 10.35  250,000 ? 973 ? 1% 0% 1% 100%
fasta  #3 101.76  2,500,000 ? 973 ? 2% 1% 65% 100%
fasta  #3 412.75  25,000,000 ? 973 ? 1% 1% 100% 100%
k-nucleotide  #6 Failed  250,000
k-nucleotide  #4 Failed  250,000
k-nucleotide  #5 Failed  250,000
source secs N mem gz cpu cpu load
k-nucleotide  #3 7.36  250,000 40,812 540 7.34 1% 100% 1% 100%
k-nucleotide  #3 72.12  2,500,000 53,460 540 72.06 1% 100% 1% 100%
k-nucleotide  #3 739.38  25,000,000 164,980 540 738.86 1% 49% 52% 100%
source secs N mem gz cpu cpu load
k-nucleotide  7.74  250,000 90,876 637 7.72 1% 100% 9% 100%
k-nucleotide  74.44  2,500,000 20,528 637 74.37 1% 99% 2% 100%
k-nucleotide  748.04  25,000,000 130,532 637 747.52 1% 100% 1% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #2 6.96  250,000 36,560 420 6.96 1% 1% 100% 100%
k-nucleotide  #2 66.65  2,500,000 51,372 420 66.62 1% 1% 100% 100%
k-nucleotide  #2 672.83  25,000,000 160,276 420 672.50 0% 2% 99% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 14.57  1,000 6,996 307 14.05 1% 2% 58% 100%
mandelbrot  #3 222.26  4,000 7,012 307 222.17 1% 0% 0% 100%
mandelbrot  #3 Timed Out  16,000
source secs N mem gz cpu cpu load
mandelbrot  #6 26.86  1,000 20,856 885 24.67 1% 1% 100% 100%
mandelbrot  #6 330.16  4,000 46,904 885 321.67 1% 1% 100% 100%
mandelbrot  #6 Timed Out  16,000
source secs N mem gz cpu cpu load
mandelbrot  #4 17.80  1,000 9,752 849 17.79 1% 100% 0% 100%
mandelbrot  #4 275.18  4,000 11,880 849 274.98 1% 89% 11% 100%
mandelbrot  #4 Timed Out  16,000
source secs N mem gz cpu cpu load
mandelbrot  #2 18.78  1,000 11,116 925 17.46 1% 1% 100% 100%
mandelbrot  #2 283.86  4,000 56,544 925 283.68 1% 1% 100% 100%
mandelbrot  #2 Timed Out  16,000
source secs N mem gz cpu cpu load
mandelbrot  #5 20.69  1,000 7,756 1019 15.20 1% 1% 100% 100%
mandelbrot  #5 243.00  4,000 30,188 1019 242.88 1% 4% 97% 100%
mandelbrot  #5 Timed Out  16,000
source secs N mem gz cpu cpu load
meteor-contest  #2 7.21  2,098 7,644 2786 7.20 1% 1% 100% 100%
source secs N mem gz cpu cpu load
meteor-contest  11.24  2,098 7,448 2768 11.23 1% 0% 100% 100%
source secs N mem gz cpu cpu load
n-body  #2 13.96  500,000 7,020 1137 13.96 1% 1% 100% 100%
n-body  #2 141.39  5,000,000 7,204 1137 141.33 1% 0% 100% 100%
n-body  #2 1,429.79  50,000,000 7,284 1137 1,429.24 1% 18% 83% 100%
pidigits  #2 Failed  2,000
source secs N mem gz cpu cpu load
pidigits  0.95  2,000 56,472 518 0.94 1% 1% 100% 100%
pidigits  7.53  6,000 159,232 518 7.51 1% 1% 100% 100%
pidigits  21.32  10,000 159,712 518 21.27 1% 1% 100% 100%
source secs N mem gz cpu cpu load
pidigits  #5 0.31  2,000 536 478 0.25 0% 0% 6% 100%
pidigits  #5 1.54  6,000 222,880 478 1.54 1% 2% 2% 100%
pidigits  #5 4.04  10,000 626,044 478 4.02 0% 1% 1% 100%
source secs N mem gz cpu cpu load
regex-dna  #7 0.49  50,000 60,420 507 0.46 4% 100% 0% 100%
regex-dna  #7 3.78  500,000 24,532 507 3.71 1% 100% 1% 100%
regex-dna  #7 37.49  5,000,000 186,164 507 37.45 1% 1% 100% 100%
source secs N mem gz cpu cpu load
regex-dna  0.55  50,000 8,700 308 0.54 4% 0% 100% 100%
regex-dna  4.82  500,000 24,376 308 4.81 1% 1% 100% 100%
regex-dna  47.11  5,000,000 385,344 308 47.08 0% 1% 100% 100%
source secs N mem gz cpu cpu load
regex-dna  #2 0.42  50,000 8,804 417 0.42 2% 0% 100% 98%
regex-dna  #2 3.56  500,000 24,596 417 3.56 1% 1% 100% 100%
regex-dna  #2 34.29  5,000,000 383,028 417 34.26 1% 1% 100% 100%
source secs N mem gz cpu cpu load
regex-dna  #3 0.47  50,000 55,148 501 0.44 2% 2% 100% 100%
regex-dna  #3 3.59  500,000 24,548 501 3.57 0% 1% 100% 100%
regex-dna  #3 36.02  5,000,000 433,040 501 35.97 1% 1% 100% 100%
source secs N mem gz cpu cpu load
regex-dna  #5 0.43  50,000 8,028 343 0.42 2% 0% 100% 100%
regex-dna  #5 3.60  500,000 17,008 343 3.60 1% 1% 100% 100%
regex-dna  #5 35.11  5,000,000 108,304 343 35.09 1% 1% 100% 100%
source secs N mem gz cpu cpu load
regex-dna  #8 0.47  50,000 47,132 529 0.44 4% 0% 100% 100%
regex-dna  #8 3.65  500,000 73,384 529 3.62 1% 1% 100% 100%
regex-dna  #8 35.34  5,000,000 106,056 529 35.30 1% 0% 100% 100%
source secs N mem gz cpu cpu load
regex-dna  #6 0.34  50,000 520 442 0.34 3% 6% 100% 100%
regex-dna  #6 2.72  500,000 24,104 442 2.72 1% 1% 100% 100%
regex-dna  #6 26.32  5,000,000 154,492 442 26.30 1% 0% 100% 100%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.18  250,000 ? 255 0.17 0% 100% 0% 100%
reverse-complement  #2 1.17  2,500,000 25,392 255 1.13 2% 100% 1% 100%
reverse-complement  #2 9.96  25,000,000 130,824 255 9.95 1% 100% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  0.72  250,000 ? 536 ? 0% 3% 4% 100%
reverse-complement  0.88  2,500,000 151,400 536 0.86 2% 0% 3% 100%
reverse-complement  9.15  25,000,000 623,560 536 9.12 1% 1% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.71  250,000 ? 509 ? 0% 0% 0% 100%
reverse-complement  #3 0.80  2,500,000 36,820 509 0.73 3% 0% 0% 100%
reverse-complement  #3 6.17  25,000,000 541,352 509 6.14 0% 1% 1% 100%
source secs N mem gz cpu cpu load
spectral-norm  #4 4.29  500 7,040 326 4.29 1% 100% 1% 100%
spectral-norm  #4 154.05  3,000 7,584 326 153.99 1% 29% 71% 100%
spectral-norm  #4 520.06  5,500 7,584 326 519.86 0% 1% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  5.14  500 6,912 292 5.12 1% 1% 100% 100%
spectral-norm  181.01  3,000 7,724 292 180.93 1% 63% 38% 100%
spectral-norm  600.19  5,500 8,640 292 599.95 0% 26% 75% 100%
source secs N mem gz cpu cpu load
spectral-norm  #5 10.54  500 35,084 835 9.99 1% 73% 28% 100%
spectral-norm  #5 326.72  3,000 36,484 835 326.00 1% 1% 100% 100%
spectral-norm  #5 1,115.37  5,500 52,404 835 1,113.93 1% 44% 57% 100%
source secs N mem gz cpu cpu load
thread-ring  #2 11.00  500,000 23,372 215 10.98 2% 58% 43% 100%
thread-ring  #2 Bad Output  5,000,000
source secs N mem gz cpu cpu load
thread-ring  2.95  500,000 17,400 331 2.94 1% 0% 100% 100%
thread-ring  28.34  5,000,000 17,532 331 28.32 1% 1% 100% 100%
thread-ring  282.99  50,000,000 17,476 331 282.82 1% 0% 100% 100%