The Computer Language
Benchmarks Game

all Java programs & measurements

java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

source secs N mem gz cpu cpu load
binary-trees  #6 0.09  7 ? 529 0.10 22% 88% 0% 11%
binary-trees  #6 0.17  14 ? 529 0.21 94% 17% 13% 13%
binary-trees  #6 15.13  21 520,676 529 26.95 69% 56% 28% 28%
source secs N mem gz cpu cpu load
binary-trees  #7 0.18  7 ? 835 0.25 35% 12% 16% 88%
binary-trees  #7 0.23  14 2,100 835 0.45 57% 68% 36% 55%
binary-trees  #7 11.26  21 593,156 835 39.02 85% 88% 90% 88%
source secs N mem gz cpu cpu load
binary-trees  #2 0.10  7 ? 552 0.10 10% 80% 0% 0%
binary-trees  #2 0.17  14 ? 552 0.22 19% 7% 13% 94%
binary-trees  #2 15.73  21 542,932 552 29.06 35% 36% 66% 52%
source secs N mem gz cpu cpu load
binary-trees  #4 0.27  7 2,120 840 0.26 75% 20% 23% 15%
binary-trees  #4 0.25  14 804 840 0.40 33% 42% 25% 75%
binary-trees  #4 17.09  21 714,012 840 34.22 46% 36% 73% 49%
source secs N mem gz cpu cpu load
binary-trees  #3 0.14  7 ? 540 0.10 0% 31% 69% 13%
binary-trees  #3 0.17  14 ? 540 0.20 61% 47% 18% 6%
binary-trees  #3 14.94  21 521,004 540 26.03 26% 31% 57% 63%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.22  60,000 2,096 1429 0.44 83% 35% 57% 38%
chameneos-redux  #2 1.36  600,000 51,508 1429 4.00 83% 78% 63% 77%
chameneos-redux  #2 12.45  6,000,000 51,916 1429 37.96 73% 61% 88% 89%
source secs N mem gz cpu cpu load
chameneos-redux  #3 0.31  60,000 788 1267 0.86 90% 71% 68% 55%
chameneos-redux  #3 1.06  600,000 52,488 1267 3.46 91% 90% 56% 92%
chameneos-redux  #3 7.94  6,000,000 53,232 1267 26.86 54% 96% 98% 94%
source secs N mem gz cpu cpu load
chameneos-redux  #4 0.25  60,000 1,832 1607 0.66 96% 62% 60% 54%
chameneos-redux  #4 0.84  600,000 36,240 1607 2.82 86% 89% 96% 69%
chameneos-redux  #4 4.82  6,000,000 37,132 1607 16.73 98% 98% 54% 99%
source secs N mem gz cpu cpu load
chameneos-redux  0.22  60,000 2,136 1770 0.34 91% 29% 30% 19%
chameneos-redux  0.77  600,000 33,056 1770 1.22 48% 22% 49% 44%
chameneos-redux  6.13  6,000,000 53,760 1770 8.78 42% 45% 41% 16%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.54  10 26,044 514 0.59 6% 38% 4% 67%
fannkuch-redux  #2 5.42  11 26,520 514 5.46 1% 99% 1% 1%
fannkuch-redux  #2 70.94  12 28,012 514 70.98 6% 1% 0% 94%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.51  10 27,128 1257 0.55 4% 63% 41% 4%
fannkuch-redux  #3 5.21  11 27,720 1257 5.27 3% 1% 1% 99%
fannkuch-redux  #3 69.70  12 28,240 1257 69.75 6% 89% 6% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  0.24  10 1,724 1282 0.71 68% 96% 64% 67%
fannkuch-redux  1.43  11 29,684 1282 5.44 94% 99% 94% 95%
fannkuch-redux  13.74  12 30,368 1282 54.12 100% 98% 98% 99%
source secs N mem gz cpu cpu load
fasta  #4 0.15  250,000 ? 1507 0.19 19% 13% 0% 93%
fasta  #4 0.66  2,500,000 26,620 1507 0.76 4% 35% 72% 10%
fasta  #4 5.06  25,000,000 28,824 1507 5.14 1% 2% 100% 2%
source secs N mem gz cpu cpu load
fasta  #2 0.19  250,000 ? 1240 0.26 11% 21% 6% 95%
fasta  #2 0.98  2,500,000 27,980 1240 1.09 93% 2% 3% 16%
fasta  #2 7.53  25,000,000 31,040 1240 7.64 14% 1% 2% 87%
source secs N mem gz cpu cpu load
fasta  #5 0.15  250,000 ? 2457 0.30 40% 36% 87% 40%
fasta  #5 0.40  2,500,000 1,964 2457 0.98 68% 74% 55% 60%
fasta  #5 2.13  25,000,000 36,036 2457 5.66 94% 58% 59% 60%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.88  250,000 183,024 1873 1.28 23% 18% 61% 51%
k-nucleotide  #4 6.68  2,500,000 193,036 1873 7.46 6% 6% 9% 94%
k-nucleotide  #4 48.75  25,000,000 185,160 1873 50.42 1% 96% 1% 7%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.50  250,000 45,548 1602 1.58 80% 96% 69% 76%
k-nucleotide  #6 1.57  2,500,000 97,548 1602 5.25 84% 92% 78% 82%
k-nucleotide  #6 13.39  25,000,000 460,916 1602 46.82 86% 86% 87% 92%
source secs N mem gz cpu cpu load
k-nucleotide  #5 0.79  250,000 165,816 2211 1.91 43% 67% 55% 83%
k-nucleotide  #5 4.10  2,500,000 191,844 2211 9.03 83% 25% 83% 33%
k-nucleotide  #5 30.64  25,000,000 186,028 2211 69.04 20% 89% 28% 91%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.54  250,000 44,160 1630 1.61 74% 72% 87% 76%
k-nucleotide  #3 1.81  2,500,000 167,924 1630 6.15 92% 87% 83% 80%
k-nucleotide  #3 12.99  25,000,000 459,616 1630 44.88 84% 86% 81% 96%
source secs N mem gz cpu cpu load
k-nucleotide  0.59  250,000 43,424 1802 1.21 49% 56% 53% 68%
k-nucleotide  1.22  2,500,000 105,748 1802 3.68 72% 71% 89% 73%
k-nucleotide  7.93  25,000,000 465,372 1802 25.11 75% 75% 75% 93%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.17  1,000 ? 903 0.40 53% 53% 89% 53%
mandelbrot  #3 0.87  4,000 28,204 903 3.18 98% 91% 91% 90%
mandelbrot  #3 10.89  16,000 90,812 903 43.01 99% 99% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  0.26  1,000 836 665 0.28 23% 4% 80% 0%
mandelbrot  2.74  4,000 28,708 665 2.77 1% 100% 1% 2%
mandelbrot  42.92  16,000 27,108 665 42.96 1% 100% 1% 0%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.13  1,000 ? 802 0.26 38% 38% 79% 38%
mandelbrot  #6 0.51  4,000 28,064 802 1.76 84% 98% 84% 84%
mandelbrot  #6 7.15  16,000 89,076 802 28.14 98% 98% 100% 98%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.13  1,000 ? 796 0.26 38% 42% 92% 42%
mandelbrot  #2 0.55  4,000 28,472 796 1.92 87% 85% 85% 96%
mandelbrot  #2 7.10  16,000 90,588 796 27.92 99% 99% 98% 98%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.24  2,098 2,124 5177 0.45 56% 9% 84% 48%
source secs N mem gz cpu cpu load
meteor-contest  0.77  2,098 31,776 4368 0.89 8% 10% 100% 4%
source secs N mem gz cpu cpu load
n-body  #4 0.34  500,000 1,740 1489 0.36 3% 76% 6% 24%
n-body  #4 2.25  5,000,000 27,052 1489 2.26 100% 1% 2% 0%
n-body  #4 21.54  50,000,000 27,092 1489 21.56 1% 1% 100% 1%
source secs N mem gz cpu cpu load
n-body  #2 0.32  500,000 2,088 1424 0.35 6% 6% 81% 19%
n-body  #2 2.35  5,000,000 27,236 1424 2.37 1% 10% 91% 1%
n-body  #2 22.59  50,000,000 29,372 1424 22.61 0% 1% 100% 1%
source secs N mem gz cpu cpu load
n-body  0.39  500,000 840 1430 0.41 5% 16% 13% 81%
n-body  2.66  5,000,000 26,996 1430 2.70 1% 2% 99% 2%
n-body  23.28  50,000,000 28,044 1430 23.32 0% 100% 1% 1%
source secs N mem gz cpu cpu load
n-body  #3 0.33  500,000 1,804 1430 0.34 97% 9% 3% 6%
n-body  #3 2.34  5,000,000 26,284 1430 2.36 92% 9% 1% 0%
n-body  #3 22.48  50,000,000 27,664 1430 22.50 1% 100% 0% 1%
source secs N mem gz cpu cpu load
pidigits  0.82  2,000 170,196 800 1.52 49% 64% 53% 22%
pidigits  6.04  6,000 380,080 800 6.83 9% 7% 64% 38%
pidigits  17.24  10,000 382,500 800 18.24 4% 3% 11% 91%
source secs N mem gz cpu cpu load
pidigits  #2 0.23  2,000 784 938 0.24 48% 57% 9% 9%
pidigits  #2 1.13  6,000 28,860 938 1.22 4% 7% 11% 96%
pidigits  #2 3.06  10,000 31,760 938 3.16 6% 3% 97% 1%
regex-redux  #2 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  0.68  50,000 43,216 868 1.39 60% 63% 44% 59%
regex-redux  2.33  500,000 184,148 868 4.53 50% 41% 69% 41%
regex-redux  18.03  5,000,000 834,824 868 34.89 48% 63% 45% 39%
regex-redux  #4 Bad Output  50,000
regex-redux  #5 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  #3 0.56  50,000 39,104 929 1.57 72% 71% 75% 71%
regex-redux  #3 1.59  500,000 180,520 929 4.62 83% 72% 65% 73%
regex-redux  #3 12.31  5,000,000 902,528 929 38.75 73% 76% 86% 81%
source secs N mem gz cpu cpu load
reverse-complement  #7 0.45  250,000 31,948 1640 0.50 64% 40% 20% 41%
reverse-complement  #7 1.35  2,500,000 57,144 1640 1.20 21% 18% 44% 49%
reverse-complement  #7 9.79  25,000,000 ? 1640 ? 56% 7% 8% 35%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.13  250,000 ? 745 0.20 21% 25% 46% 69%
reverse-complement  #6 0.27  2,500,000 2,068 745 0.36 14% 89% 4% 27%
reverse-complement  #6 1.35  25,000,000 526,544 745 1.64 40% 3% 40% 45%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.13  250,000 ? 592 0.21 92% 36% 14% 31%
reverse-complement  #4 0.40  2,500,000 2,048 592 0.51 18% 56% 7% 54%
reverse-complement  #4 2.26  25,000,000 368,656 592 2.38 2% 99% 3% 3%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.18  250,000 ? 1661 0.28 33% 47% 56% 18%
reverse-complement  #3 0.28  2,500,000 2,100 1661 0.49 21% 70% 61% 32%
reverse-complement  #3 1.10  25,000,000 345,352 1661 2.40 33% 82% 53% 54%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.13  250,000 ? 1098 0.19 77% 50% 15% 18%
reverse-complement  #5 0.33  2,500,000 832 1098 0.43 62% 12% 44% 13%
reverse-complement  #5 1.72  25,000,000 294,360 1098 1.87 8% 96% 6% 3%
source secs N mem gz cpu cpu load
spectral-norm  0.26  500 1,688 514 0.31 12% 8% 73% 31%
spectral-norm  5.15  3,000 30,024 514 5.29 2% 1% 1% 100%
spectral-norm  16.99  5,500 30,304 514 17.07 1% 1% 100% 1%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.21  500 1,688 950 0.46 43% 45% 57% 90%
spectral-norm  #2 1.43  3,000 29,816 950 5.30 93% 91% 92% 94%
spectral-norm  #2 4.29  5,500 29,884 950 16.56 96% 97% 99% 95%
source secs N mem gz cpu cpu load
thread-ring  #7 3.42  500,000 36,116 473 3.71 25% 31% 27% 25%
thread-ring  #7 32.81  5,000,000 36,148 473 36.20 29% 28% 28% 22%
thread-ring  #7 304.63  50,000,000 37,032 473 340.15 29% 29% 26% 25%
source secs N mem gz cpu cpu load
thread-ring  #3 3.81  500,000 369,008 530 4.15 25% 36% 17% 31%
thread-ring  #3 31.96  5,000,000 368,764 530 34.76 31% 21% 31% 24%
thread-ring  #3 301.09  50,000,000 370,728 530 329.71 24% 25% 29% 29%