The Computer Language
Benchmarks Game

all Java programs & measurements

openjdk 14 2020-03-17
OpenJDK Runtime Environment (build 14+36-1461)
OpenJDK 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)

source secs N mem gz cpu cpu load
binary-trees  #6 5.26  7 32,908 529 0.21 50% 18% 27% 28%
binary-trees  #6 0.23  14 464 529 0.30 43% 10% 26% 61%
binary-trees  #6 11.94  21 729,612 529 14.17 64% 8% 11% 38%
source secs N mem gz cpu cpu load
binary-trees  #4 4.07  7 31,248 840 0.22 70% 3% 4% 24%
binary-trees  #4 0.23  14 916 840 0.33 17% 52% 67% 30%
binary-trees  #4 11.81  21 728,548 840 14.11 66% 8% 9% 38%
source secs N mem gz cpu cpu load
binary-trees  #2 3.81  7 28,956 552 0.20 33% 40% 25% 9%
binary-trees  #2 0.23  14 464 552 0.30 35% 48% 29% 41%
binary-trees  #2 11.60  21 774,628 552 14.01 9% 11% 9% 96%
source secs N mem gz cpu cpu load
binary-trees  #3 3.89  7 28,852 540 0.20 21% 12% 49% 14%
binary-trees  #3 0.22  14 464 540 0.28 14% 33% 71% 35%
binary-trees  #3 11.02  21 776,720 540 13.32 16% 8% 12% 89%
source secs N mem gz cpu cpu load
binary-trees  #7 4.32  7 30,568 835 0.24 61% 6% 4% 28%
binary-trees  #7 0.22  14 460 835 0.38 48% 62% 60% 33%
binary-trees  #7 8.25  21 964,656 835 27.41 79% 96% 76% 84%
source secs N mem gz cpu cpu load
fannkuch-redux  4.19  10 29,748 1282 0.91 28% 38% 22% 29%
fannkuch-redux  1.35  11 33,272 1282 5.04 92% 93% 96% 95%
fannkuch-redux  17.89  12 33,352 1282 70.83 98% 100% 100% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 4.21  10 32,984 1257 0.66 22% 2% 51% 25%
fannkuch-redux  #3 4.59  11 33,212 1257 4.67 98% 2% 2% 1%
fannkuch-redux  #3 62.86  12 33,152 1257 62.95 100% 0% 1% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 4.86  10 32,864 514 0.78 81% 14% 15% 15%
fannkuch-redux  #2 6.11  11 33,720 514 6.18 99% 2% 0% 2%
fannkuch-redux  #2 76.09  12 33,896 514 76.15 100% 0% 1% 1%
source secs N mem gz cpu cpu load
fasta  #2 4.10  250,000 32,196 1257 0.38 29% 26% 34% 14%
fasta  #2 1.05  2,500,000 36,996 1257 1.17 8% 3% 11% 96%
fasta  #2 7.95  25,000,000 37,316 1257 8.09 1% 99% 2% 0%
source secs N mem gz cpu cpu load
fasta  #4 3.80  250,000 28,828 1524 0.28 64% 10% 1% 23%
fasta  #4 0.69  2,500,000 35,032 1524 0.81 94% 5% 1% 19%
fasta  #4 5.27  25,000,000 36,124 1524 5.36 98% 2% 1% 2%
source secs N mem gz cpu cpu load
fasta  #5 3.85  250,000 29,832 2473 0.43 29% 41% 24% 14%
fasta  #5 0.40  2,500,000 920 2473 0.99 44% 64% 73% 85%
fasta  #5 2.23  25,000,000 43,292 2473 6.00 63% 48% 92% 68%
source secs N mem gz cpu cpu load
k-nucleotide  4.88  250,000 58,120 1812 1.49 26% 50% 42% 12%
k-nucleotide  1.47  2,500,000 99,748 1812 3.89 88% 61% 69% 60%
k-nucleotide  9.08  25,000,000 404,688 1812 28.81 77% 77% 93% 73%
source secs N mem gz cpu cpu load
k-nucleotide  #3 4.73  250,000 47,932 1635 1.77 48% 12% 32% 24%
k-nucleotide  #3 1.69  2,500,000 100,020 1635 4.99 76% 73% 76% 79%
k-nucleotide  #3 11.88  25,000,000 419,164 1635 40.09 99% 78% 80% 81%
source secs N mem gz cpu cpu load
k-nucleotide  #5 4.80  250,000 169,592 2219 2.57 40% 30% 23% 27%
k-nucleotide  #5 3.48  2,500,000 181,328 2219 7.70 49% 83% 27% 72%
k-nucleotide  #5 33.91  25,000,000 246,164 2219 77.90 28% 16% 94% 93%
source secs N mem gz cpu cpu load
k-nucleotide  #4 5.25  250,000 168,688 1882 1.75 52% 30% 6% 20%
k-nucleotide  #4 6.11  2,500,000 178,816 1882 6.53 4% 7% 84% 15%
k-nucleotide  #4 58.54  25,000,000 208,084 1882 59.28 26% 1% 0% 75%
source secs N mem gz cpu cpu load
k-nucleotide  #6 4.59  250,000 74,544 1607 1.67 60% 14% 14% 24%
k-nucleotide  #6 1.68  2,500,000 99,480 1607 4.94 72% 75% 72% 81%
k-nucleotide  #6 11.86  25,000,000 420,004 1607 40.00 80% 80% 81% 98%
source secs N mem gz cpu cpu load
mandelbrot  #4 4.03  1,000 29,172 660 0.44 66% 14% 2% 20%
mandelbrot  #4 0.71  4,000 36,244 660 1.91 89% 51% 73% 65%
mandelbrot  #4 8.67  16,000 67,336 660 26.86 93% 79% 55% 83%
source secs N mem gz cpu cpu load
mandelbrot  #2 3.78  1,000 30,004 796 0.41 8% 50% 35% 8%
mandelbrot  #2 0.56  4,000 34,736 796 1.92 95% 80% 86% 84%
mandelbrot  #2 5.93  16,000 76,272 796 23.23 97% 99% 98% 98%
source secs N mem gz cpu cpu load
mandelbrot  3.93  1,000 32,632 665 0.36 18% 11% 55% 15%
mandelbrot  2.85  4,000 34,468 665 2.90 99% 1% 1% 2%
mandelbrot  43.70  16,000 34,524 665 43.77 0% 1% 100% 0%
source secs N mem gz cpu cpu load
mandelbrot  #6 3.87  1,000 31,872 802 0.46 80% 15% 2% 18%
mandelbrot  #6 0.59  4,000 35,128 802 2.05 92% 85% 90% 88%
mandelbrot  #6 7.15  16,000 76,416 802 28.13 98% 99% 99% 98%
source secs N mem gz cpu cpu load
mandelbrot  #3 3.80  1,000 30,244 903 0.53 33% 39% 23% 15%
mandelbrot  #3 0.98  4,000 36,180 903 3.58 95% 93% 91% 94%
mandelbrot  #3 10.75  16,000 77,776 903 42.46 99% 99% 99% 99%
source secs N mem gz cpu cpu load
n-body  #4 4.46  500,000 33,356 1489 0.42 51% 31% 1% 17%
n-body  #4 2.79  5,000,000 33,940 1489 2.82 0% 3% 99% 2%
n-body  #4 24.64  50,000,000 34,420 1489 24.66 0% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #2 4.02  500,000 33,968 1424 0.41 21% 52% 1% 24%
n-body  #2 2.42  5,000,000 34,468 1424 2.46 4% 98% 3% 2%
n-body  #2 23.05  50,000,000 34,616 1424 23.09 2% 1% 100% 1%
source secs N mem gz cpu cpu load
n-body  #5 4.04  500,000 33,236 1429 0.41 63% 12% 33% 5%
n-body  #5 2.36  5,000,000 34,484 1429 2.39 4% 3% 1% 97%
n-body  #5 22.67  50,000,000 34,892 1429 22.71 1% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #3 4.07  500,000 33,008 1430 0.40 21% 35% 24% 14%
n-body  #3 2.37  5,000,000 34,480 1430 2.40 2% 3% 98% 1%
n-body  #3 22.75  50,000,000 34,664 1430 22.80 1% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  4.26  500,000 35,584 1430 0.45 23% 37% 20% 22%
n-body  2.46  5,000,000 36,204 1430 2.52 3% 2% 98% 1%
n-body  23.43  50,000,000 36,428 1430 23.50 2% 0% 0% 100%
source secs N mem gz cpu cpu load
pidigits  4.77  2,000 91,836 800 1.91 31% 42% 27% 24%
pidigits  6.97  6,000 182,828 800 8.17 79% 4% 13% 24%
pidigits  19.53  10,000 201,292 800 20.84 2% 57% 45% 4%
source secs N mem gz cpu cpu load
pidigits  #2 4.20  2,000 31,476 938 0.27 28% 37% 34% 17%
pidigits  #2 1.15  6,000 35,148 938 1.27 96% 4% 10% 5%
pidigits  #2 3.07  10,000 38,408 938 3.20 0% 8% 99% 3%
source secs N mem gz cpu cpu load
regex-redux  #3 4.22  50,000 43,160 929 1.43 25% 29% 40% 23%
regex-redux  #3 1.66  500,000 121,424 929 4.92 80% 73% 83% 68%
regex-redux  #3 10.13  5,000,000 644,456 929 30.87 73% 75% 91% 67%
source secs N mem gz cpu cpu load
regex-redux  4.31  50,000 44,880 868 1.76 52% 14% 30% 22%
regex-redux  2.24  500,000 125,696 868 4.29 54% 41% 27% 81%
regex-redux  16.29  5,000,000 632,380 868 29.89 61% 23% 43% 59%
source secs N mem gz cpu cpu load
regex-redux  #6 4.47  50,000 40,368 740 1.31 57% 33% 28% 23%
regex-redux  #6 1.50  500,000 104,532 740 4.18 64% 76% 74% 74%
regex-redux  #6 10.64  5,000,000 633,820 740 29.47 80% 82% 74% 43%
source secs N mem gz cpu cpu load
reverse-complement  #6 5.04  250,000 31,460 752 0.24 36% 56% 16% 18%
reverse-complement  #6 10.12  100,000,000 2,060,324 752 7.28 51% 5% 21% 44%
source secs N mem gz cpu cpu load
reverse-complement  #8 4.64  250,000 31,416 2183 0.38 44% 23% 31% 17%
reverse-complement  #8 3.14  100,000,000 730,620 2183 6.96 72% 45% 51% 55%
source secs N mem gz cpu cpu load
reverse-complement  #4 4.80  250,000 31,524 651 0.33 44% 30% 18% 25%
reverse-complement  #4 12.45  100,000,000 1,930,340 651 10.13 11% 22% 39% 34%
source secs N mem gz cpu cpu load
reverse-complement  #3 4.02  250,000 30,924 1722 0.30 52% 20% 26% 13%
reverse-complement  #3 4.80  100,000,000 1,173,232 1722 10.90 54% 83% 44% 47%
source secs N mem gz cpu cpu load
reverse-complement  #7 4.00  250,000 36,276 1647 0.46 42% 36% 21% 11%
reverse-complement  #7 46.62  100,000,000 1,032,700 1647 10.12 30% 25% 26% 23%
source secs N mem gz cpu cpu load
reverse-complement  #5 4.09  250,000 29,928 1108 0.23 43% 25% 34% 15%
reverse-complement  #5 7.60  100,000,000 1,126,380 1108 7.85 4% 13% 6% 91%
source secs N mem gz cpu cpu load
spectral-norm  4.38  500 32,896 514 0.41 32% 21% 20% 21%
spectral-norm  5.03  3,000 35,888 514 5.11 80% 1% 1% 22%
spectral-norm  16.57  5,500 36,684 514 16.66 1% 100% 1% 0%
source secs N mem gz cpu cpu load
spectral-norm  #2 4.82  500 34,520 950 0.53 60% 4% 3% 32%
spectral-norm  #2 1.41  3,000 36,056 950 5.24 98% 93% 91% 93%
spectral-norm  #2 4.14  5,500 36,456 950 16.13 97% 99% 98% 97%
source secs N mem gz cpu cpu load
spectral-norm  #3 5.50  500 33,024 756 0.57 79% 10% 3% 28%
spectral-norm  #3 1.54  3,000 36,976 756 5.36 87% 89% 88% 87%
spectral-norm  #3 4.25  5,500 37,108 756 16.36 98% 96% 96% 96%