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.12  12 ? 583 0.16 69% 8% 17% 50%
binary-trees  #6 0.71  16 159,612 583 0.83 7% 47% 68% 9%
binary-trees  #6 13.77  20 511,632 583 19.28 76% 18% 17% 31%
source secs N mem gz cpu cpu load
binary-trees  #7 0.24  12 788 889 0.32 29% 29% 64% 36%
binary-trees  #7 0.68  16 147,200 889 1.83 52% 74% 87% 64%
binary-trees  #7 11.52  20 643,924 889 40.54 89% 92% 85% 89%
source secs N mem gz cpu cpu load
binary-trees  #2 0.13  12 ? 603 0.16 15% 14% 62% 38%
binary-trees  #2 0.74  16 148,672 603 0.88 15% 54% 55% 5%
binary-trees  #2 13.34  20 514,440 603 18.81 46% 19% 39% 39%
source secs N mem gz cpu cpu load
binary-trees  #4 0.20  12 ? 911 0.30 35% 35% 22% 56%
binary-trees  #4 0.72  16 110,932 911 1.00 14% 18% 79% 31%
binary-trees  #4 14.43  20 586,292 911 22.96 24% 64% 34% 41%
source secs N mem gz cpu cpu load
binary-trees  #3 0.13  12 ? 584 0.15 50% 8% 67% 0%
binary-trees  #3 0.69  16 162,828 584 0.82 10% 9% 84% 19%
binary-trees  #3 13.37  20 513,400 584 18.98 67% 22% 29% 26%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.20  60,000 ? 1429 0.38 32% 60% 39% 53%
chameneos-redux  #2 1.39  600,000 51,344 1429 4.03 79% 84% 76% 57%
chameneos-redux  #2 12.40  6,000,000 51,336 1429 37.13 87% 75% 68% 75%
source secs N mem gz cpu cpu load
chameneos-redux  #3 0.32  60,000 1,700 1267 0.85 69% 94% 53% 61%
chameneos-redux  #3 1.05  600,000 51,460 1267 3.42 90% 90% 59% 91%
chameneos-redux  #3 7.97  6,000,000 55,312 1267 26.87 86% 79% 81% 93%
source secs N mem gz cpu cpu load
chameneos-redux  #4 0.23  60,000 824 1607 0.62 95% 62% 59% 67%
chameneos-redux  #4 0.61  600,000 36,600 1607 2.01 84% 87% 98% 63%
chameneos-redux  #4 4.71  6,000,000 36,332 1607 16.48 98% 98% 66% 89%
source secs N mem gz cpu cpu load
chameneos-redux  0.17  60,000 ? 1770 0.28 28% 53% 78% 31%
chameneos-redux  0.57  600,000 32,316 1770 0.98 45% 39% 52% 45%
chameneos-redux  5.48  6,000,000 56,880 1770 7.61 38% 26% 40% 35%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.53  10 26,664 514 0.57 2% 100% 11% 0%
fannkuch-redux  #2 6.24  11 28,012 514 6.28 100% 0% 1% 1%
fannkuch-redux  #2 72.10  12 28,380 514 72.14 0% 100% 1% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.51  10 27,788 1257 0.54 8% 78% 2% 22%
fannkuch-redux  #3 5.19  11 27,400 1257 5.25 98% 2% 1% 3%
fannkuch-redux  #3 67.97  12 27,916 1257 68.01 1% 100% 0% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  0.24  10 784 1282 0.68 65% 67% 67% 88%
fannkuch-redux  1.42  11 27,228 1282 5.37 94% 97% 95% 94%
fannkuch-redux  17.74  12 30,048 1282 69.90 98% 98% 100% 99%
source secs N mem gz cpu cpu load
fasta  #4 0.16  250,000 ? 1507 0.20 6% 13% 94% 19%
fasta  #4 0.62  2,500,000 28,252 1507 0.70 10% 8% 98% 2%
fasta  #4 5.07  25,000,000 28,760 1507 5.16 99% 1% 1% 2%
source secs N mem gz cpu cpu load
fasta  #2 0.19  250,000 ? 1240 0.26 58% 6% 16% 55%
fasta  #2 0.96  2,500,000 29,412 1240 1.05 92% 5% 6% 8%
fasta  #2 7.78  25,000,000 30,316 1240 7.90 100% 1% 2% 1%
source secs N mem gz cpu cpu load
fasta  #5 0.17  250,000 ? 2457 0.38 41% 53% 53% 81%
fasta  #5 0.39  2,500,000 784 2457 0.96 87% 58% 61% 46%
fasta  #5 2.14  25,000,000 36,192 2457 5.68 71% 58% 62% 77%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.85  250,000 181,896 1873 1.26 99% 20% 26% 7%
k-nucleotide  #4 6.44  2,500,000 212,872 1873 7.38 15% 6% 90% 6%
k-nucleotide  #4 48.61  25,000,000 184,640 1873 49.03 90% 1% 11% 1%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.51  250,000 45,764 1602 1.47 74% 65% 73% 86%
k-nucleotide  #6 1.96  2,500,000 168,088 1602 6.00 75% 80% 85% 75%
k-nucleotide  #6 12.65  25,000,000 462,180 1602 43.82 86% 98% 83% 82%
source secs N mem gz cpu cpu load
k-nucleotide  #5 0.78  250,000 165,628 2211 1.81 73% 58% 74% 34%
k-nucleotide  #5 4.19  2,500,000 201,656 2211 9.34 83% 24% 93% 25%
k-nucleotide  #5 30.95  25,000,000 188,752 2211 68.94 84% 89% 20% 31%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.53  250,000 44,756 1630 1.65 80% 73% 93% 75%
k-nucleotide  #3 1.79  2,500,000 165,624 1630 6.08 83% 93% 85% 80%
k-nucleotide  #3 13.36  25,000,000 458,892 1630 46.60 84% 90% 83% 94%
source secs N mem gz cpu cpu load
k-nucleotide  0.48  250,000 41,748 1802 1.16 63% 53% 65% 73%
k-nucleotide  1.22  2,500,000 109,532 1802 3.68 88% 71% 67% 76%
k-nucleotide  8.02  25,000,000 467,004 1802 25.57 76% 98% 73% 74%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.17  1,000 ? 903 0.40 94% 50% 44% 53%
mandelbrot  #3 0.79  4,000 29,304 903 2.85 96% 87% 89% 90%
mandelbrot  #3 11.51  16,000 92,632 903 45.52 99% 99% 100% 99%
source secs N mem gz cpu cpu load
mandelbrot  0.26  1,000 1,792 665 0.29 8% 11% 4% 96%
mandelbrot  2.75  4,000 26,240 665 2.77 97% 2% 1% 3%
mandelbrot  42.92  16,000 42,424 665 42.95 1% 1% 100% 1%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.13  1,000 ? 802 0.26 31% 42% 36% 86%
mandelbrot  #6 0.57  4,000 27,920 802 1.98 88% 86% 84% 97%
mandelbrot  #6 7.16  16,000 92,036 802 28.16 99% 98% 98% 99%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.13  1,000 ? 796 0.26 31% 92% 42% 36%
mandelbrot  #2 0.56  4,000 27,528 796 1.92 84% 86% 88% 95%
mandelbrot  #2 5.89  16,000 89,504 796 23.08 98% 98% 98% 99%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.24  2,098 1,792 5177 0.45 50% 40% 33% 78%
source secs N mem gz cpu cpu load
meteor-contest  0.77  2,098 31,540 4368 0.88 11% 99% 3% 6%
source secs N mem gz cpu cpu load
n-body  #4 0.34  500,000 1,776 1489 0.36 6% 6% 97% 0%
n-body  #4 2.44  5,000,000 26,544 1489 2.46 99% 1% 2% 1%
n-body  #4 21.50  50,000,000 27,240 1489 21.52 1% 1% 100% 0%
source secs N mem gz cpu cpu load
n-body  #2 0.33  500,000 892 1424 0.35 9% 9% 94% 6%
n-body  #2 2.35  5,000,000 29,292 1424 2.37 5% 99% 3% 2%
n-body  #2 22.59  50,000,000 29,184 1424 22.61 100% 1% 1% 0%
source secs N mem gz cpu cpu load
n-body  0.38  500,000 864 1430 0.41 97% 0% 6% 8%
n-body  2.67  5,000,000 26,760 1430 2.71 99% 2% 1% 2%
n-body  25.56  50,000,000 27,716 1430 25.60 0% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.32  500,000 816 1430 0.34 3% 97% 6% 0%
n-body  #3 2.34  5,000,000 27,412 1430 2.36 99% 2% 1% 2%
n-body  #3 22.48  50,000,000 29,144 1430 22.50 2% 1% 100% 1%
source secs N mem gz cpu cpu load
pidigits  0.80  2,000 98,972 800 1.36 20% 42% 23% 88%
pidigits  6.05  6,000 378,736 800 6.82 62% 13% 9% 31%
pidigits  17.25  10,000 381,416 800 18.05 30% 17% 41% 18%
source secs N mem gz cpu cpu load
pidigits  #2 0.24  2,000 828 938 0.24 71% 38% 8% 4%
pidigits  #2 1.13  6,000 26,276 938 1.23 5% 99% 5% 4%
pidigits  #2 3.06  10,000 31,088 938 3.16 0% 3% 9% 92%
regex-redux  #2 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  0.52  50,000 39,192 868 1.27 60% 84% 56% 48%
regex-redux  2.23  500,000 202,888 868 4.54 39% 41% 51% 75%
regex-redux  18.17  5,000,000 835,688 868 34.87 37% 73% 52% 33%
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.69  50,000 46,096 929 1.58 85% 67% 53% 53%
regex-redux  #3 1.61  500,000 180,188 929 4.81 71% 71% 80% 80%
regex-redux  #3 12.16  5,000,000 927,212 929 37.28 73% 81% 75% 78%
source secs N mem gz cpu cpu load
reverse-complement  #7 0.32  250,000 828 1640 0.52 73% 41% 39% 38%
reverse-complement  #7 1.04  2,500,000 55,232 1640 1.04 71% 20% 24% 47%
reverse-complement  #7 7.35  25,000,000 ? 1640 ? 44% 23% 19% 42%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.14  250,000 ? 745 0.20 86% 23% 8% 29%
reverse-complement  #6 0.27  2,500,000 824 745 0.35 8% 28% 12% 93%
reverse-complement  #6 1.34  25,000,000 526,696 745 1.63 74% 3% 40% 9%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.14  250,000 ? 592 0.22 7% 36% 36% 92%
reverse-complement  #4 0.40  2,500,000 956 592 0.52 18% 7% 97% 13%
reverse-complement  #4 2.19  25,000,000 368,848 592 2.30 96% 3% 5% 5%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.17  250,000 ? 1661 0.27 25% 82% 24% 33%
reverse-complement  #3 0.28  2,500,000 960 1661 0.48 19% 68% 29% 59%
reverse-complement  #3 1.11  25,000,000 345,308 1661 2.44 33% 58% 54% 80%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.13  250,000 ? 1098 0.19 92% 0% 17% 43%
reverse-complement  #5 0.32  2,500,000 824 1098 0.42 47% 61% 13% 22%
reverse-complement  #5 1.69  25,000,000 293,400 1098 1.84 5% 4% 95% 7%
source secs N mem gz cpu cpu load
spectral-norm  0.26  500 1,780 514 0.31 100% 4% 8% 19%
spectral-norm  5.15  3,000 29,284 514 5.30 2% 3% 1% 100%
spectral-norm  17.00  5,500 31,884 514 17.06 1% 100% 1% 0%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.25  500 824 950 0.59 52% 57% 82% 52%
spectral-norm  #2 1.43  3,000 28,444 950 5.30 93% 92% 97% 91%
spectral-norm  #2 4.29  5,500 31,428 950 16.56 97% 96% 98% 97%
source secs N mem gz cpu cpu load
thread-ring  #7 3.25  500,000 38,008 473 4.27 23% 39% 40% 19%
thread-ring  #7 29.15  5,000,000 37,212 473 38.12 23% 37% 37% 23%
thread-ring  #7 280.07  50,000,000 37,780 473 363.16 31% 28% 28% 31%
source secs N mem gz cpu cpu load
thread-ring  #3 3.50  500,000 369,028 530 4.61 24% 38% 37% 23%
thread-ring  #3 30.10  5,000,000 369,428 530 39.30 26% 33% 33% 27%
thread-ring  #3 288.82  50,000,000 369,564 530 374.31 30% 29% 29% 31%