The Computer Language
Benchmarks Game

all Ruby JRuby programs & measurements

jruby 9.1.7.0 (2.3.1) 2017-01-11 68056ae Java HotSpot(TM) 64-Bit Server VM 25.121-b13 on 1.8.0_121-b13 +jit [linux-x86_64]

source secs N mem gz cpu cpu load
binary-trees  #3 3.57  12 177,180 439 9.03 63% 82% 57% 57%
binary-trees  #3 10.95  16 608,824 439 18.52 24% 79% 34% 35%
binary-trees  #3 174.71  20 1,540,044 439 249.90 18% 88% 23% 20%
source secs N mem gz cpu cpu load
binary-trees  #5 3.82  12 189,232 1123 11.48 76% 89% 65% 75%
binary-trees  #5 8.85  16 833,044 1123 29.81 85% 93% 78% 84%
binary-trees  #5 199.39  20 2,243,540 1123 765.91 97% 97% 97% 96%
source secs N mem gz cpu cpu load
binary-trees  3.52  12 178,920 412 9.44 84% 63% 63% 60%
binary-trees  11.19  16 649,024 412 19.45 64% 36% 42% 34%
binary-trees  233.32  20 2,302,868 412 497.47 44% 80% 49% 42%
source secs N mem gz cpu cpu load
binary-trees  #4 3.63  12 193,704 402 9.14 90% 62% 57% 53%
binary-trees  #4 10.74  16 606,808 402 18.47 45% 60% 25% 44%
binary-trees  #4 177.49  20 2,082,864 402 281.39 30% 32% 27% 71%
source secs N mem gz cpu cpu load
chameneos-redux  3.92  60,000 245,844 928 10.95 89% 65% 68% 60%
chameneos-redux  7.84  600,000 446,212 928 19.59 54% 73% 58% 68%
chameneos-redux  48.78  6,000,000 628,968 928 112.15 65% 60% 49% 58%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 8.99  10 574,728 1426 30.18 77% 85% 84% 92%
fannkuch-redux  #2 39.09  11 687,692 1426 142.88 95% 98% 88% 86%
fannkuch-redux  #2 465.29  12 690,372 1426 1,666.83 99% 91% 81% 88%
source secs N mem gz cpu cpu load
fannkuch-redux  8.44  10 454,572 384 16.11 87% 34% 47% 25%
fannkuch-redux  46.44  11 688,452 384 54.58 29% 45% 42% 4%
fannkuch-redux  577.32  12 687,080 384 587.51 8% 12% 35% 49%
source secs N mem gz cpu cpu load
fasta  5.74  250,000 552,452 760 12.17 89% 50% 34% 42%
fasta  26.64  2,500,000 672,688 760 33.88 13% 57% 47% 14%
fasta  242.48  25,000,000 1,604,456 760 254.73 27% 50% 27% 5%
source secs N mem gz cpu cpu load
fasta  #3 4.75  250,000 445,596 973 10.86 69% 74% 50% 39%
fasta  #3 13.90  2,500,000 655,476 973 20.78 22% 85% 22% 22%
fasta  #3 77.16  25,000,000 733,140 973 84.79 43% 20% 11% 38%
source secs N mem gz cpu cpu load
k-nucleotide  6.31  250,000 629,316 637 19.66 78% 75% 72% 90%
k-nucleotide  21.97  2,500,000 860,448 637 69.20 70% 70% 88% 89%
k-nucleotide  182.54  25,000,000 1,587,804 637 565.84 78% 79% 73% 82%
source secs N mem gz cpu cpu load
k-nucleotide  #3 6.00  250,000 628,208 540 18.80 82% 89% 70% 75%
k-nucleotide  #3 22.72  2,500,000 861,192 540 67.89 64% 73% 75% 90%
k-nucleotide  #3 181.25  25,000,000 1,592,680 540 581.16 77% 88% 74% 84%
source secs N mem gz cpu cpu load
mandelbrot  #3 9.25  1,000 665,944 307 15.48 46% 30% 35% 61%
mandelbrot  #3 75.36  4,000 673,904 307 81.86 19% 41% 18% 33%
mandelbrot  #3 1,130.07  16,000 684,340 307 1,141.34 33% 25% 18% 28%
source secs N mem gz cpu cpu load
mandelbrot  #4 7.20  1,000 666,352 849 24.50 81% 86% 84% 92%
mandelbrot  #4 55.96  4,000 683,504 849 214.60 96% 96% 96% 98%
mandelbrot  #4 859.39  16,000 2,290,948 849 3,351.00 98% 98% 98% 98%
source secs N mem gz cpu cpu load
mandelbrot  #5 36.01  1,000 719,320 1019 138.76 97% 98% 96% 97%
mandelbrot  #5 92.43  4,000 732,504 1019 357.85 98% 98% 98% 98%
mandelbrot  #5 984.65  16,000 1,811,060 1019 3,820.74 98% 98% 98% 98%
source secs N mem gz cpu cpu load
meteor-contest  12.05  2,098 684,160 2768 23.20 34% 44% 80% 36%
source secs N mem gz cpu cpu load
meteor-contest  #2 10.43  2,098 688,596 2786 21.28 82% 41% 47% 36%
source secs N mem gz cpu cpu load
n-body  #2 6.94  500,000 703,472 1137 13.29 88% 44% 34% 28%
n-body  #2 32.61  5,000,000 711,532 1137 38.73 10% 88% 7% 17%
n-body  #2 290.75  50,000,000 708,196 1137 298.28 36% 30% 22% 18%
source secs N mem gz cpu cpu load
pidigits  4.20  2,000 544,880 518 10.92 64% 62% 76% 61%
pidigits  10.03  6,000 692,936 518 18.96 69% 45% 31% 47%
pidigits  20.84  10,000 776,548 518 34.12 28% 91% 17% 30%
pidigits  #5 Failed  2,000
source secs N mem gz cpu cpu load
regex-redux  #2 7.96  50,000 216,256 424 9.73 41% 56% 51% 40%
regex-redux  #2 5.72  500,000 357,636 424 14.54 56% 54% 80% 69%
regex-redux  #2 29.48  5,000,000 1,554,812 424 66.90 59% 68% 50% 52%
source secs N mem gz cpu cpu load
reverse-complement  #2 3.46  250,000 206,612 255 9.51 67% 44% 98% 69%
reverse-complement  #2 6.77  2,500,000 525,316 255 13.45 45% 40% 80% 37%
reverse-complement  #2 15.69  25,000,000 1,382,344 255 23.96 27% 20% 22% 87%
source secs N mem gz cpu cpu load
reverse-complement  3.07  250,000 203,236 536 8.38 71% 82% 57% 66%
reverse-complement  4.12  2,500,000 378,380 536 11.11 70% 54% 95% 58%
reverse-complement  9.09  25,000,000 2,283,300 536 25.64 80% 62% 71% 72%
source secs N mem gz cpu cpu load
reverse-complement  #3 3.10  250,000 201,068 509 8.56 64% 63% 85% 67%
reverse-complement  #3 4.07  2,500,000 359,168 509 11.18 65% 66% 72% 75%
reverse-complement  #3 9.50  25,000,000 2,271,316 509 26.12 60% 81% 65% 72%
source secs N mem gz cpu cpu load
spectral-norm  5.90  500 668,916 292 12.11 53% 54% 44% 56%
spectral-norm  87.80  3,000 678,248 292 94.66 28% 29% 12% 41%
spectral-norm  286.53  5,500 688,588 292 294.50 42% 15% 14% 34%
source secs N mem gz cpu cpu load
spectral-norm  #4 6.04  500 662,440 326 11.67 52% 50% 64% 30%
spectral-norm  #4 76.33  3,000 676,780 326 82.68 25% 22% 31% 33%
spectral-norm  #4 251.17  5,500 685,284 326 258.56 20% 29% 33% 23%
source secs N mem gz cpu cpu load
spectral-norm  #2 5.93  500 678,816 776 19.24 78% 78% 80% 92%
spectral-norm  #2 84.95  3,000 683,640 776 325.11 97% 97% 96% 97%
spectral-norm  #2 303.84  5,500 705,992 776 1,181.91 98% 98% 98% 98%
thread-ring  #2 Failed  500,000
source secs N mem gz cpu cpu load
thread-ring  8.12  500,000 690,444 342 15.19 45% 41% 58% 42%
thread-ring  41.87  5,000,000 743,488 342 59.42 34% 34% 33% 34%
thread-ring  372.23  50,000,000 825,972 342 494.28 30% 31% 31% 30%