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 0.28  7 1,068 529 0.35 35% 36% 11% 64%
binary-trees  #6 0.32  14 1,924 529 0.49 16% 44% 81% 27%
binary-trees  #6 11.75  21 778,112 529 14.08 60% 12% 22% 29%
source secs N mem gz cpu cpu load
binary-trees  #4 0.23  7 1,004 840 0.36 18% 45% 13% 88%
binary-trees  #4 0.33  14 1,008 840 0.53 64% 53% 15% 38%
binary-trees  #4 11.25  21 783,116 840 13.78 30% 10% 15% 69%
source secs N mem gz cpu cpu load
binary-trees  #2 0.23  7 1,024 552 0.35 26% 22% 87% 19%
binary-trees  #2 0.33  14 1,068 552 0.48 79% 35% 24% 22%
binary-trees  #2 11.99  21 708,016 552 14.37 70% 9% 10% 34%
source secs N mem gz cpu cpu load
binary-trees  #3 0.23  7 1,064 540 0.35 25% 48% 13% 87%
binary-trees  #3 0.31  14 992 540 0.46 17% 35% 7% 91%
binary-trees  #3 11.74  21 780,740 540 14.19 51% 25% 15% 32%
source secs N mem gz cpu cpu load
binary-trees  #7 0.28  7 1,040 835 0.43 25% 38% 19% 79%
binary-trees  #7 0.32  14 1,024 835 0.65 84% 39% 48% 41%
binary-trees  #7 8.28  21 982,224 835 27.19 79% 86% 83% 83%
source secs N mem gz cpu cpu load
fannkuch-redux  0.38  10 928 1282 1.00 73% 77% 74% 51%
fannkuch-redux  1.58  11 31,168 1282 5.75 89% 95% 89% 91%
fannkuch-redux  17.91  12 31,560 1282 70.25 99% 98% 99% 97%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.61  10 30,968 1257 0.75 84% 13% 8% 21%
fannkuch-redux  #3 5.31  11 31,268 1257 5.45 98% 1% 2% 3%
fannkuch-redux  #3 69.62  12 31,304 1257 69.77 100% 1% 1% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.64  10 31,764 514 0.77 97% 17% 2% 11%
fannkuch-redux  #2 5.59  11 31,528 514 5.71 99% 2% 2% 1%
fannkuch-redux  #2 70.02  12 32,024 514 70.15 1% 0% 0% 100%
source secs N mem gz cpu cpu load
fasta  #2 0.32  250,000 1,104 1257 0.49 10% 71% 33% 47%
fasta  #2 1.14  2,500,000 36,556 1257 1.37 5% 11% 7% 98%
fasta  #2 7.88  25,000,000 36,244 1257 8.09 99% 3% 1% 1%
source secs N mem gz cpu cpu load
fasta  #4 0.28  250,000 1,012 1524 0.41 54% 21% 7% 71%
fasta  #4 0.75  2,500,000 34,924 1524 0.95 59% 41% 0% 27%
fasta  #4 5.16  25,000,000 35,892 1524 5.35 98% 3% 3% 2%
source secs N mem gz cpu cpu load
fasta  #5 0.26  250,000 964 2473 0.51 50% 85% 32% 32%
fasta  #5 0.48  2,500,000 36,568 2473 1.02 81% 53% 51% 45%
fasta  #5 2.32  25,000,000 42,556 2473 6.24 73% 85% 49% 63%
source secs N mem gz cpu cpu load
k-nucleotide  0.69  250,000 48,448 1812 1.50 66% 51% 73% 44%
k-nucleotide  1.38  2,500,000 96,968 1812 3.88 68% 71% 66% 82%
k-nucleotide  8.66  25,000,000 385,768 1812 26.52 76% 81% 74% 76%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.64  250,000 50,216 1635 1.81 78% 73% 78% 59%
k-nucleotide  #3 1.73  2,500,000 112,608 1635 5.41 77% 87% 80% 73%
k-nucleotide  #3 12.30  25,000,000 381,164 1635 40.98 80% 84% 92% 78%
source secs N mem gz cpu cpu load
k-nucleotide  #5 1.11  250,000 197,944 2219 2.60 65% 67% 39% 69%
k-nucleotide  #5 5.17  2,500,000 211,596 2219 12.67 43% 50% 62% 92%
k-nucleotide  #5 35.71  25,000,000 226,864 2219 79.78 27% 27% 80% 91%
source secs N mem gz cpu cpu load
k-nucleotide  #4 1.11  250,000 194,152 1882 1.83 20% 41% 86% 21%
k-nucleotide  #4 6.78  2,500,000 208,048 1882 7.54 88% 8% 13% 4%
k-nucleotide  #4 60.33  25,000,000 192,800 1882 61.28 27% 61% 1% 14%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.68  250,000 51,308 1607 1.90 67% 81% 70% 64%
k-nucleotide  #6 1.73  2,500,000 113,372 1607 5.46 73% 80% 86% 78%
k-nucleotide  #6 12.20  25,000,000 380,216 1607 40.70 78% 97% 80% 80%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.29  1,000 996 660 0.51 61% 24% 43% 61%
mandelbrot  #4 0.81  4,000 34,372 660 2.08 67% 68% 78% 49%
mandelbrot  #4 8.88  16,000 64,788 660 26.77 59% 97% 65% 82%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.25  1,000 1,008 796 0.47 56% 48% 26% 65%
mandelbrot  #2 0.61  4,000 32,388 796 1.89 95% 77% 66% 75%
mandelbrot  #2 6.96  16,000 76,748 796 27.07 98% 98% 96% 98%
source secs N mem gz cpu cpu load
mandelbrot  0.33  1,000 1,104 665 0.40 18% 76% 36% 3%
mandelbrot  2.92  4,000 32,628 665 3.00 99% 2% 0% 3%
mandelbrot  43.80  16,000 32,932 665 43.88 1% 0% 0% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.26  1,000 1,008 802 0.50 48% 58% 41% 50%
mandelbrot  #6 0.74  4,000 32,380 802 2.42 86% 88% 80% 77%
mandelbrot  #6 7.40  16,000 76,888 802 28.75 97% 97% 97% 97%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.25  1,000 1,068 903 0.56 48% 92% 50% 46%
mandelbrot  #3 0.99  4,000 34,380 903 3.50 87% 92% 91% 85%
mandelbrot  #3 10.95  16,000 78,456 903 42.88 99% 98% 97% 98%
source secs N mem gz cpu cpu load
n-body  #4 0.41  500,000 1,048 1489 0.48 10% 85% 19% 0%
n-body  #4 2.56  5,000,000 32,176 1489 2.63 99% 2% 0% 3%
n-body  #4 22.00  50,000,000 32,496 1489 22.07 1% 100% 0% 1%
source secs N mem gz cpu cpu load
n-body  #2 0.42  500,000 32,148 1424 0.48 2% 12% 95% 10%
n-body  #2 2.67  5,000,000 32,544 1424 2.74 5% 1% 1% 98%
n-body  #2 25.09  50,000,000 32,992 1424 25.16 1% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  #5 0.39  500,000 996 1429 0.46 11% 15% 5% 95%
n-body  #5 2.38  5,000,000 32,160 1429 2.44 5% 96% 1% 3%
n-body  #5 22.15  50,000,000 32,388 1429 22.21 1% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  #3 0.39  500,000 992 1430 0.46 13% 8% 8% 95%
n-body  #3 2.42  5,000,000 32,592 1430 2.49 2% 4% 3% 96%
n-body  #3 22.54  50,000,000 32,556 1430 22.61 100% 0% 0% 1%
source secs N mem gz cpu cpu load
n-body  0.41  500,000 1,048 1430 0.48 27% 5% 2% 83%
n-body  2.45  5,000,000 33,428 1430 2.53 2% 3% 98% 2%
n-body  22.86  50,000,000 33,312 1430 22.94 1% 100% 0% 0%
source secs N mem gz cpu cpu load
pidigits  0.98  2,000 109,004 800 2.19 70% 69% 11% 76%
pidigits  7.02  6,000 187,072 800 8.40 59% 48% 10% 32%
pidigits  19.32  10,000 244,076 800 20.89 4% 10% 91% 5%
source secs N mem gz cpu cpu load
pidigits  #2 0.26  2,000 912 938 0.33 0% 31% 77% 27%
pidigits  #2 1.19  6,000 32,608 938 1.41 11% 96% 5% 8%
pidigits  #2 3.13  10,000 37,324 938 3.35 98% 5% 3% 3%
regex-redux  #4 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  #3 0.57  50,000 39,944 929 1.71 84% 63% 72% 81%
regex-redux  #3 1.70  500,000 117,752 929 4.96 68% 69% 81% 77%
regex-redux  #3 10.52  5,000,000 637,380 929 31.89 75% 80% 77% 72%
source secs N mem gz cpu cpu load
regex-redux  0.78  50,000 41,768 868 2.19 79% 72% 63% 71%
regex-redux  2.28  500,000 128,888 868 4.59 48% 72% 44% 39%
regex-redux  16.73  5,000,000 600,044 868 30.92 42% 36% 78% 30%
regex-redux  #5 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  #6 0.56  50,000 39,504 740 1.49 59% 82% 75% 66%
regex-redux  #6 1.86  500,000 103,916 740 5.28 86% 59% 77% 69%
regex-redux  #6 11.62  5,000,000 599,632 740 33.20 85% 61% 78% 63%
regex-redux  #2 Bad Output  50,000
source secs N mem gz cpu cpu load
reverse-complement  #6 0.29  250,000 1,068 752 0.33 19% 45% 74% 13%
reverse-complement  #6 11.63  100,000,000 2,042,308 752 7.21 46% 7% 42% 18%
source secs N mem gz cpu cpu load
reverse-complement  #8 0.24  250,000 1,044 2183 0.35 33% 25% 88% 17%
reverse-complement  #8 3.31  100,000,000 626,956 2183 7.44 56% 60% 83% 45%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.23  250,000 944 651 0.34 43% 41% 5% 78%
reverse-complement  #4 12.62  100,000,000 1,921,772 651 10.34 24% 26% 48% 87%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.31  250,000 1,004 1722 0.35 26% 23% 84% 16%
reverse-complement  #3 4.88  100,000,000 1,144,032 1722 10.85 80% 58% 44% 42%
source secs N mem gz cpu cpu load
reverse-complement  #7 0.42  250,000 32,788 1647 0.55 40% 40% 65% 22%
reverse-complement  #7 22.49  100,000,000 ? 1647 ? 60% 33% 20% 63%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.22  250,000 1,032 1108 0.29 19% 86% 41% 5%
reverse-complement  #5 6.89  100,000,000 1,120,380 1108 7.19 2% 62% 40% 2%
source secs N mem gz cpu cpu load
spectral-norm  0.40  500 1,040 514 0.43 11% 55% 40% 22%
spectral-norm  5.06  3,000 32,320 514 5.18 2% 100% 2% 2%
spectral-norm  16.54  5,500 33,004 514 16.67 100% 0% 1% 0%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.33  500 952 950 0.64 88% 36% 35% 47%
spectral-norm  #2 1.50  3,000 32,724 950 5.35 95% 86% 89% 88%
spectral-norm  #2 4.27  5,500 32,960 950 16.41 95% 97% 98% 96%