The Computer Language
Benchmarks Game

all Java programs & measurements

openjdk 11 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)

source secs N mem gz cpu cpu load
binary-trees  #6 2.07  7 ? 529 ? 46% 12% 34% 19%
binary-trees  #6 0.31  14 1,020 529 0.48 17% 48% 19% 84%
binary-trees  #6 11.78  21 734,420 529 14.16 41% 8% 11% 64%
source secs N mem gz cpu cpu load
binary-trees  #4 2.02  7 ? 840 ? 23% 38% 11% 32%
binary-trees  #4 0.33  14 952 840 0.51 31% 63% 39% 41%
binary-trees  #4 11.23  21 777,936 840 13.71 81% 10% 9% 24%
source secs N mem gz cpu cpu load
binary-trees  #2 2.04  7 ? 552 ? 27% 25% 36% 39%
binary-trees  #2 0.33  14 888 552 0.48 45% 79% 56% 9%
binary-trees  #2 11.95  21 781,108 552 14.31 36% 11% 6% 69%
source secs N mem gz cpu cpu load
binary-trees  #3 1.94  7 ? 540 ? 39% 18% 53% 9%
binary-trees  #3 0.32  14 1,020 540 0.47 25% 33% 64% 32%
binary-trees  #3 11.67  21 732,632 540 14.04 8% 23% 80% 11%
source secs N mem gz cpu cpu load
binary-trees  #7 2.03  7 ? 835 ? 27% 35% 13% 21%
binary-trees  #7 0.33  14 956 835 0.61 52% 59% 36% 55%
binary-trees  #7 8.39  21 960,056 835 27.39 81% 85% 74% 90%
source secs N mem gz cpu cpu load
fannkuch-redux  2.30  10 ? 1282 ? 39% 48% 19% 39%
fannkuch-redux  1.59  11 31,076 1282 5.76 89% 91% 94% 91%
fannkuch-redux  17.98  12 31,180 1282 70.57 97% 99% 97% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 2.25  10 ? 1257 ? 14% 33% 45% 6%
fannkuch-redux  #3 5.32  11 30,892 1257 5.46 5% 2% 0% 97%
fannkuch-redux  #3 69.95  12 31,204 1257 70.09 0% 1% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 2.45  10 ? 514 ? 30% 3% 25% 44%
fannkuch-redux  #2 5.56  11 31,588 514 5.69 3% 97% 1% 4%
fannkuch-redux  #2 70.02  12 31,680 514 70.16 0% 100% 1% 0%
source secs N mem gz cpu cpu load
fasta  #2 2.25  250,000 ? 1257 ? 58% 11% 32% 17%
fasta  #2 1.11  2,500,000 35,108 1257 1.34 12% 98% 7% 9%
fasta  #2 7.94  25,000,000 36,128 1257 8.19 2% 100% 1% 2%
source secs N mem gz cpu cpu load
fasta  #4 2.31  250,000 ? 1524 ? 25% 31% 11% 36%
fasta  #4 0.78  2,500,000 35,144 1524 0.97 10% 25% 96% 14%
fasta  #4 5.15  25,000,000 35,652 1524 5.35 99% 3% 2% 1%
source secs N mem gz cpu cpu load
fasta  #5 2.38  250,000 ? 2473 ? 55% 24% 22% 28%
fasta  #5 0.49  2,500,000 36,572 2473 1.11 59% 39% 45% 88%
fasta  #5 2.32  25,000,000 42,212 2473 6.30 65% 85% 47% 76%
source secs N mem gz cpu cpu load
k-nucleotide  2.85  250,000 46,900 1812 1.60 39% 55% 31% 21%
k-nucleotide  1.57  2,500,000 96,800 1812 3.98 65% 78% 60% 62%
k-nucleotide  8.74  25,000,000 470,116 1812 27.12 71% 73% 93% 74%
source secs N mem gz cpu cpu load
k-nucleotide  #3 2.98  250,000 60,900 1635 1.99 63% 24% 22% 44%
k-nucleotide  #3 1.97  2,500,000 112,988 1635 5.83 79% 71% 67% 85%
k-nucleotide  #3 12.51  25,000,000 462,260 1635 42.29 82% 93% 85% 80%
source secs N mem gz cpu cpu load
k-nucleotide  #5 2.90  250,000 184,544 2219 2.63 51% 44% 25% 37%
k-nucleotide  #5 3.51  2,500,000 195,652 2219 7.75 60% 79% 46% 39%
k-nucleotide  #5 36.24  25,000,000 228,288 2219 78.36 58% 82% 25% 51%
source secs N mem gz cpu cpu load
k-nucleotide  #4 3.02  250,000 195,424 1882 1.90 62% 36% 27% 16%
k-nucleotide  #4 6.76  2,500,000 206,824 1882 7.41 63% 8% 3% 38%
k-nucleotide  #4 59.75  25,000,000 195,100 1882 60.69 1% 1% 100% 1%
source secs N mem gz cpu cpu load
k-nucleotide  #6 2.65  250,000 70,936 1607 2.08 45% 51% 40% 23%
k-nucleotide  #6 1.93  2,500,000 111,812 1607 5.67 71% 65% 89% 77%
k-nucleotide  #6 12.11  25,000,000 463,324 1607 40.71 79% 91% 87% 80%
source secs N mem gz cpu cpu load
mandelbrot  #4 2.18  1,000 ? 660 ? 43% 23% 38% 21%
mandelbrot  #4 0.80  4,000 33,844 660 2.11 79% 59% 70% 56%
mandelbrot  #4 8.93  16,000 65,024 660 26.89 97% 55% 81% 69%
source secs N mem gz cpu cpu load
mandelbrot  #2 2.11  1,000 ? 796 ? 33% 24% 50% 19%
mandelbrot  #2 0.66  4,000 31,808 796 2.10 88% 70% 74% 91%
mandelbrot  #2 6.96  16,000 76,316 796 27.06 97% 97% 97% 97%
source secs N mem gz cpu cpu load
mandelbrot  2.29  1,000 ? 665 ? 18% 49% 30% 10%
mandelbrot  2.93  4,000 32,428 665 2.99 4% 1% 1% 98%
mandelbrot  43.80  16,000 32,572 665 43.88 62% 0% 0% 40%
source secs N mem gz cpu cpu load
mandelbrot  #6 1.95  1,000 ? 802 ? 72% 37% 7% 16%
mandelbrot  #6 0.74  4,000 31,860 802 2.42 92% 84% 73% 82%
mandelbrot  #6 7.41  16,000 76,468 802 28.76 97% 97% 97% 97%
source secs N mem gz cpu cpu load
mandelbrot  #3 1.93  1,000 ? 903 ? 21% 32% 18% 43%
mandelbrot  #3 1.04  4,000 34,136 903 3.69 84% 90% 95% 86%
mandelbrot  #3 11.10  16,000 77,936 903 43.68 98% 99% 99% 98%
source secs N mem gz cpu cpu load
n-body  #4 2.56  500,000 ? 1489 ? 71% 4% 30% 20%
n-body  #4 2.56  5,000,000 31,704 1489 2.63 0% 4% 98% 3%
n-body  #4 22.00  50,000,000 32,272 1489 22.07 1% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #2 2.36  500,000 ? 1424 ? 62% 44% 1% 10%
n-body  #2 2.67  5,000,000 32,048 1424 2.74 9% 94% 1% 2%
n-body  #2 25.04  50,000,000 32,352 1424 25.11 0% 100% 0% 1%
source secs N mem gz cpu cpu load
n-body  #5 2.14  500,000 ? 1429 ? 29% 44% 31% 6%
n-body  #5 2.37  5,000,000 32,236 1429 2.44 3% 2% 1% 98%
n-body  #5 22.14  50,000,000 32,368 1429 22.21 0% 100% 1% 0%
source secs N mem gz cpu cpu load
n-body  #3 2.04  500,000 ? 1430 ? 20% 26% 13% 35%
n-body  #3 2.43  5,000,000 31,932 1430 2.48 98% 2% 2% 3%
n-body  #3 22.54  50,000,000 32,408 1430 22.61 0% 100% 2% 0%
source secs N mem gz cpu cpu load
n-body  2.62  500,000 ? 1430 ? 19% 20% 27% 36%
n-body  2.44  5,000,000 32,876 1430 2.52 99% 3% 2% 2%
n-body  22.86  50,000,000 33,108 1430 22.94 0% 100% 1% 0%
source secs N mem gz cpu cpu load
pidigits  2.69  2,000 120,116 800 2.21 58% 13% 44% 38%
pidigits  6.84  6,000 225,404 800 8.34 53% 11% 7% 53%
pidigits  19.35  10,000 245,000 800 20.87 12% 89% 7% 5%
source secs N mem gz cpu cpu load
pidigits  #2 2.60  2,000 ? 938 ? 27% 26% 28% 38%
pidigits  #2 1.19  6,000 32,400 938 1.41 11% 97% 3% 8%
pidigits  #2 3.13  10,000 37,376 938 3.35 1% 98% 4% 6%
regex-redux  #4 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  #3 2.67  50,000 39,376 929 2.01 37% 21% 51% 37%
regex-redux  #3 1.82  500,000 136,268 929 4.93 71% 63% 69% 72%
regex-redux  #3 10.50  5,000,000 571,736 929 31.63 71% 73% 66% 92%
source secs N mem gz cpu cpu load
regex-redux  2.76  50,000 44,228 868 2.10 29% 24% 51% 33%
regex-redux  2.23  500,000 125,376 868 4.37 50% 73% 27% 49%
regex-redux  16.91  5,000,000 600,944 868 31.26 47% 74% 35% 30%
regex-redux  #5 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  #6 2.70  50,000 42,628 740 1.83 65% 35% 38% 31%
regex-redux  #6 1.82  500,000 92,968 740 5.37 76% 78% 78% 71%
regex-redux  #6 10.80  5,000,000 567,224 740 33.19 90% 73% 69% 77%
regex-redux  #2 Bad Output  50,000
source secs N mem gz cpu cpu load
reverse-complement  #6 2.24  250,000 ? 752 ? 25% 31% 41% 13%
reverse-complement  #6 5.99  100,000,000 2,042,544 752 7.08 2% 82% 3% 33%
source secs N mem gz cpu cpu load
reverse-complement  #8 1.93  250,000 ? 2183 ? 31% 3% 29% 22%
reverse-complement  #8 3.32  100,000,000 609,712 2183 7.54 64% 44% 44% 76%
source secs N mem gz cpu cpu load
reverse-complement  #4 1.90  250,000 ? 651 ? 41% 24% 8% 27%
reverse-complement  #4 9.64  100,000,000 1,918,296 651 9.89 2% 4% 98% 1%
source secs N mem gz cpu cpu load
reverse-complement  #3 2.41  250,000 ? 1722 ? 52% 33% 22% 21%
reverse-complement  #3 4.95  100,000,000 1,143,368 1722 10.88 39% 59% 68% 54%
source secs N mem gz cpu cpu load
reverse-complement  #7 2.65  250,000 ? 1647 ? 38% 47% 38% 12%
reverse-complement  #7 41.28  100,000,000 ? 1647 ? 43% 31% 42% 34%
source secs N mem gz cpu cpu load
reverse-complement  #5 1.76  250,000 ? 1108 ? 18% 42% 26% 9%
reverse-complement  #5 6.91  100,000,000 1,120,052 1108 7.22 97% 3% 2% 5%
source secs N mem gz cpu cpu load
spectral-norm  1.97  500 ? 514 ? 7% 40% 34% 16%
spectral-norm  5.07  3,000 33,152 514 5.19 99% 1% 2% 3%
spectral-norm  16.54  5,500 33,744 514 16.65 92% 0% 0% 9%
source secs N mem gz cpu cpu load
spectral-norm  #2 2.11  500 ? 950 ? 49% 15% 33% 22%
spectral-norm  #2 1.50  3,000 33,120 950 5.39 90% 89% 93% 87%
spectral-norm  #2 4.26  5,500 33,572 950 16.39 96% 96% 98% 95%