The Computer Language
Benchmarks Game

all Java programs & measurements

java 9.0.1
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

source secs N mem gz cpu cpu load
binary-trees  #6 0.25  7 1,964 529 0.40 32% 77% 30% 25%
binary-trees  #6 0.35  14 984 529 0.55 47% 59% 29% 31%
binary-trees  #6 12.70  21 843,536 529 16.40 60% 14% 13% 45%
source secs N mem gz cpu cpu load
binary-trees  #4 0.27  7 1,020 840 0.43 42% 31% 38% 58%
binary-trees  #4 0.35  14 1,036 840 0.60 43% 29% 63% 41%
binary-trees  #4 11.15  21 785,268 840 15.75 83% 11% 26% 24%
source secs N mem gz cpu cpu load
binary-trees  #2 0.25  7 2,068 552 0.40 60% 21% 44% 44%
binary-trees  #2 0.34  14 988 552 0.54 33% 47% 56% 29%
binary-trees  #2 12.24  21 837,280 552 15.81 9% 30% 79% 14%
source secs N mem gz cpu cpu load
binary-trees  #3 0.25  7 1,016 540 0.39 40% 31% 38% 60%
binary-trees  #3 0.34  14 1,024 540 0.53 31% 68% 33% 29%
binary-trees  #3 12.13  21 838,216 540 15.71 51% 15% 12% 54%
source secs N mem gz cpu cpu load
binary-trees  #7 0.30  7 2,060 835 0.45 26% 38% 83% 13%
binary-trees  #7 0.34  14 1,068 835 0.70 53% 55% 75% 43%
binary-trees  #7 8.34  21 893,008 835 28.20 87% 79% 96% 81%
source secs N mem gz cpu cpu load
chameneos-redux  #4 0.55  60,000 34,560 1615 1.72 82% 75% 77% 84%
chameneos-redux  #4 1.06  600,000 40,160 1615 3.55 67% 90% 95% 87%
chameneos-redux  #4 4.81  6,000,000 41,476 1615 16.52 98% 97% 52% 98%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.41  60,000 1,040 1429 0.91 72% 50% 50% 56%
chameneos-redux  #2 1.25  600,000 64,900 1429 3.24 71% 64% 69% 63%
chameneos-redux  #2 8.82  6,000,000 80,004 1429 23.69 79% 63% 57% 75%
source secs N mem gz cpu cpu load
chameneos-redux  #3 0.68  60,000 46,476 1267 1.97 68% 78% 77% 72%
chameneos-redux  #3 1.46  600,000 72,268 1267 4.66 72% 94% 71% 86%
chameneos-redux  #3 8.23  6,000,000 84,696 1267 27.66 97% 80% 97% 65%
source secs N mem gz cpu cpu load
chameneos-redux  0.41  60,000 2,020 1770 0.86 57% 74% 41% 45%
chameneos-redux  1.05  600,000 43,556 1770 1.87 35% 42% 48% 53%
chameneos-redux  8.43  6,000,000 62,192 1770 12.35 40% 37% 30% 38%
source secs N mem gz cpu cpu load
fannkuch-redux  0.40  10 2,032 1282 1.03 67% 65% 68% 65%
fannkuch-redux  1.58  11 31,548 1282 5.71 92% 91% 92% 89%
fannkuch-redux  17.26  12 32,116 1282 67.75 98% 99% 97% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.65  10 31,644 1257 0.82 90% 12% 11% 18%
fannkuch-redux  #3 5.18  11 31,800 1257 5.35 3% 3% 97% 3%
fannkuch-redux  #3 67.43  12 31,880 1257 67.60 0% 100% 0% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.73  10 32,100 514 0.89 90% 8% 7% 22%
fannkuch-redux  #2 5.56  11 31,972 514 5.71 2% 2% 98% 2%
fannkuch-redux  #2 71.99  12 32,132 514 72.14 1% 0% 0% 100%
source secs N mem gz cpu cpu load
fasta  #2 0.34  250,000 2,020 1257 0.54 79% 31% 23% 25%
fasta  #2 1.11  2,500,000 36,696 1257 1.36 7% 18% 94% 7%
fasta  #2 7.50  25,000,000 37,484 1257 7.76 2% 99% 3% 0%
source secs N mem gz cpu cpu load
fasta  #4 0.29  250,000 2,016 1524 0.45 40% 26% 86% 23%
fasta  #4 0.79  2,500,000 36,008 1524 1.02 11% 86% 22% 14%
fasta  #4 4.93  25,000,000 37,396 1524 5.16 3% 5% 98% 1%
source secs N mem gz cpu cpu load
fasta  #5 0.30  250,000 2,016 2473 0.60 60% 47% 59% 39%
fasta  #5 0.52  2,500,000 35,732 2473 1.21 58% 44% 73% 63%
fasta  #5 2.33  25,000,000 43,924 2473 6.07 53% 71% 63% 74%
source secs N mem gz cpu cpu load
k-nucleotide  0.59  250,000 38,268 1812 1.46 48% 78% 73% 52%
k-nucleotide  1.34  2,500,000 106,104 1812 3.81 75% 67% 66% 82%
k-nucleotide  8.70  25,000,000 375,568 1812 27.17 80% 72% 74% 88%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.78  250,000 46,544 1635 2.19 67% 74% 76% 71%
k-nucleotide  #3 1.72  2,500,000 111,328 1635 5.34 85% 77% 74% 76%
k-nucleotide  #3 12.20  25,000,000 372,564 1635 41.63 82% 83% 82% 94%
source secs N mem gz cpu cpu load
k-nucleotide  #5 1.10  250,000 204,672 2219 2.88 68% 72% 75% 49%
k-nucleotide  #5 4.59  2,500,000 219,184 2219 10.41 19% 97% 26% 86%
k-nucleotide  #5 34.24  25,000,000 223,012 2219 76.96 50% 92% 20% 65%
source secs N mem gz cpu cpu load
k-nucleotide  #4 1.16  250,000 199,068 1882 1.99 43% 32% 28% 75%
k-nucleotide  #4 6.79  2,500,000 215,196 1882 7.84 34% 66% 6% 10%
k-nucleotide  #4 59.65  25,000,000 197,920 1882 60.76 10% 2% 90% 1%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.67  250,000 50,016 1607 1.89 73% 77% 73% 61%
k-nucleotide  #6 1.68  2,500,000 111,972 1607 5.34 77% 77% 87% 78%
k-nucleotide  #6 12.03  25,000,000 371,972 1607 40.78 87% 81% 81% 90%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.34  1,000 1,116 660 0.63 38% 44% 88% 26%
mandelbrot  #4 0.86  4,000 35,080 660 2.17 64% 85% 59% 49%
mandelbrot  #4 8.88  16,000 66,740 660 27.30 56% 76% 97% 79%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.28  1,000 2,088 796 0.52 57% 36% 39% 71%
mandelbrot  #2 0.69  4,000 32,664 796 2.16 88% 72% 73% 86%
mandelbrot  #2 6.04  16,000 76,528 796 23.34 98% 97% 97% 97%
source secs N mem gz cpu cpu load
mandelbrot  0.37  1,000 2,080 665 0.46 16% 18% 18% 89%
mandelbrot  2.95  4,000 32,920 665 3.06 7% 2% 3% 93%
mandelbrot  44.08  16,000 33,388 665 44.18 10% 1% 1% 90%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.28  1,000 1,120 802 0.54 48% 85% 40% 37%
mandelbrot  #6 0.71  4,000 33,060 802 2.26 89% 84% 77% 75%
mandelbrot  #6 7.18  16,000 76,016 802 28.00 97% 99% 97% 97%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.27  1,000 1,932 903 0.52 72% 59% 54% 58%
mandelbrot  #3 1.18  4,000 35,116 903 3.76 87% 94% 89% 92%
mandelbrot  #3 11.37  16,000 78,144 903 43.04 98% 99% 98% 98%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.35  2,098 2,068 5180 0.63 21% 38% 26% 94%
source secs N mem gz cpu cpu load
meteor-contest  0.85  2,098 38,276 4408 1.16 13% 85% 20% 21%
source secs N mem gz cpu cpu load
n-body  #4 0.44  500,000 32,748 1489 0.54 7% 27% 84% 4%
n-body  #4 2.62  5,000,000 32,688 1489 2.71 3% 95% 5% 2%
n-body  #4 24.03  50,000,000 32,780 1489 24.12 0% 100% 2% 0%
source secs N mem gz cpu cpu load
n-body  #2 0.42  500,000 32,852 1424 0.51 88% 12% 3% 12%
n-body  #2 2.44  5,000,000 32,680 1424 2.54 2% 2% 99% 3%
n-body  #2 22.56  50,000,000 32,968 1424 22.66 2% 1% 0% 98%
source secs N mem gz cpu cpu load
n-body  #5 0.45  500,000 32,708 1429 0.54 14% 35% 73% 2%
n-body  #5 2.41  5,000,000 32,804 1429 2.48 94% 4% 3% 7%
n-body  #5 22.10  50,000,000 33,136 1429 22.20 31% 1% 1% 70%
source secs N mem gz cpu cpu load
n-body  #3 0.46  500,000 32,684 1430 0.55 18% 9% 6% 85%
n-body  #3 2.75  5,000,000 32,620 1430 2.84 1% 5% 96% 3%
n-body  #3 25.65  50,000,000 32,968 1430 25.74 100% 1% 0% 0%
source secs N mem gz cpu cpu load
n-body  0.51  500,000 32,136 1430 0.58 14% 16% 25% 76%
n-body  2.79  5,000,000 33,960 1430 2.89 96% 2% 3% 4%
n-body  25.91  50,000,000 34,216 1430 26.02 0% 1% 0% 100%
source secs N mem gz cpu cpu load
pidigits  1.04  2,000 210,608 800 2.22 55% 72% 37% 51%
pidigits  6.89  6,000 256,880 800 8.26 15% 42% 36% 29%
pidigits  19.52  10,000 297,464 800 21.30 5% 41% 62% 4%
source secs N mem gz cpu cpu load
pidigits  #2 0.31  2,000 1,868 938 0.37 27% 14% 19% 72%
pidigits  #2 1.20  6,000 33,332 938 1.39 7% 13% 38% 63%
pidigits  #2 3.12  10,000 36,788 938 3.31 6% 3% 4% 96%
regex-redux  #4 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  #3 0.62  50,000 45,052 929 1.84 86% 66% 72% 75%
regex-redux  #3 1.57  500,000 155,504 929 4.82 76% 81% 71% 81%
regex-redux  #3 10.34  5,000,000 627,224 929 29.88 74% 72% 65% 79%
source secs N mem gz cpu cpu load
regex-redux  0.74  50,000 41,216 868 2.14 73% 71% 81% 64%
regex-redux  2.13  500,000 160,968 868 4.38 87% 42% 37% 42%
regex-redux  16.96  5,000,000 627,352 868 31.56 46% 63% 43% 34%
regex-redux  #5 Bad Output  50,000
regex-redux  #2 Bad Output  50,000
source secs N mem gz cpu cpu load
reverse-complement  #6 0.20  250,000 ? 752 0.34 16% 77% 47% 16%
reverse-complement  #6 0.36  2,500,000 2,136 752 0.50 61% 11% 19% 53%
reverse-complement  #6 1.58  25,000,000 535,632 752 1.92 31% 9% 81% 4%
source secs N mem gz cpu cpu load
reverse-complement  #8 0.26  250,000 1,928 2183 0.44 32% 46% 73% 35%
reverse-complement  #8 0.40  2,500,000 2,016 2183 0.80 44% 43% 50% 69%
reverse-complement  #8 1.03  25,000,000 191,064 2183 2.31 52% 57% 43% 74%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.20  250,000 ? 651 0.34 40% 52% 55% 26%
reverse-complement  #4 0.48  2,500,000 44,116 651 0.65 21% 33% 70% 20%
reverse-complement  #4 2.33  25,000,000 510,844 651 2.53 6% 44% 57% 4%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.25  250,000 1,884 1722 0.39 31% 42% 64% 32%
reverse-complement  #3 0.37  2,500,000 2,060 1722 0.64 68% 46% 22% 38%
reverse-complement  #3 1.39  25,000,000 374,144 1722 2.90 50% 40% 72% 50%
source secs N mem gz cpu cpu load
reverse-complement  #7 0.40  250,000 1,040 1647 0.58 26% 73% 54% 36%
reverse-complement  #7 0.93  2,500,000 60,564 1647 1.32 30% 52% 72% 32%
reverse-complement  #7 6.13  25,000,000 ? 1647 ? 41% 14% 11% 53%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.22  250,000 2,020 1108 0.31 38% 38% 59% 14%
reverse-complement  #5 0.40  2,500,000 1,916 1108 0.60 21% 69% 44% 15%
reverse-complement  #5 1.70  25,000,000 310,760 1108 1.97 5% 44% 64% 5%
source secs N mem gz cpu cpu load
spectral-norm  0.36  500 1,036 514 0.47 86% 22% 11% 19%
spectral-norm  5.16  3,000 34,016 514 5.28 1% 97% 3% 2%
spectral-norm  16.79  5,500 34,984 514 16.93 1% 1% 100% 0%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.31  500 2,068 950 0.65 42% 78% 48% 45%
spectral-norm  #2 1.52  3,000 33,824 950 5.40 93% 89% 86% 89%
spectral-norm  #2 4.23  5,500 34,472 950 16.27 96% 97% 97% 96%
source secs N mem gz cpu cpu load
thread-ring  #3 3.27  500,000 55,396 530 4.41 62% 5% 5% 63%
thread-ring  #3 29.06  5,000,000 56,352 530 37.97 24% 38% 37% 24%
thread-ring  #3 287.51  50,000,000 204,296 530 373.07 41% 21% 21% 41%
source secs N mem gz cpu cpu load
thread-ring  #7 3.03  500,000 39,236 473 4.00 2% 63% 65% 1%
thread-ring  #7 27.66  5,000,000 39,056 473 36.27 19% 44% 44% 17%
thread-ring  #7 274.48  50,000,000 38,676 473 359.58 34% 27% 27% 34%