The Computer Language
Benchmarks Game

all Java programs & measurements

openjdk 12 2019-03-19
OpenJDK Runtime Environment (build 12+33)
OpenJDK 64-Bit Server VM (build 12+33, mixed mode, sharing)

source secs N mem gz cpu cpu load
binary-trees  #6 2.53  7 29,008 529 0.26 9% 41% 39% 4%
binary-trees  #6 0.24  14 920 529 0.37 83% 28% 24% 46%
binary-trees  #6 11.87  21 708,172 529 14.29 10% 34% 70% 8%
source secs N mem gz cpu cpu load
binary-trees  #4 2.84  7 29,588 840 0.29 22% 38% 5% 22%
binary-trees  #4 0.26  14 988 840 0.41 15% 46% 72% 41%
binary-trees  #4 11.13  21 736,496 840 13.49 63% 11% 7% 42%
source secs N mem gz cpu cpu load
binary-trees  #2 2.72  7 31,988 552 0.26 22% 9% 25% 43%
binary-trees  #2 0.27  14 908 552 0.37 68% 15% 37% 56%
binary-trees  #2 11.56  21 735,024 552 13.86 52% 17% 10% 45%
source secs N mem gz cpu cpu load
binary-trees  #3 2.72  7 30,468 540 0.27 12% 38% 38% 9%
binary-trees  #3 0.25  14 856 540 0.35 46% 63% 8% 40%
binary-trees  #3 11.00  21 770,852 540 13.31 8% 88% 16% 11%
source secs N mem gz cpu cpu load
binary-trees  #7 2.75  7 31,088 835 0.32 13% 24% 38% 13%
binary-trees  #7 0.26  14 924 835 0.48 31% 56% 77% 36%
binary-trees  #7 8.28  21 907,060 835 27.37 86% 90% 80% 77%
source secs N mem gz cpu cpu load
fannkuch-redux  3.37  10 33,880 1282 0.95 50% 18% 18% 36%
fannkuch-redux  1.50  11 33,992 1282 5.52 92% 95% 93% 94%
fannkuch-redux  17.04  12 34,236 1282 64.56 99% 98% 100% 98%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 3.50  10 33,976 1257 0.72 51% 24% 24% 16%
fannkuch-redux  #3 4.56  11 34,036 1257 4.68 6% 2% 98% 2%
fannkuch-redux  #3 62.35  12 34,304 1257 62.45 1% 100% 1% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 3.16  10 34,200 514 0.76 44% 17% 16% 16%
fannkuch-redux  #2 5.43  11 34,188 514 5.50 2% 1% 99% 1%
fannkuch-redux  #2 70.54  12 34,744 514 70.63 2% 0% 100% 1%
source secs N mem gz cpu cpu load
fasta  #2 3.26  250,000 32,976 1257 0.49 38% 20% 15% 39%
fasta  #2 1.03  2,500,000 37,708 1257 1.23 10% 1% 14% 98%
fasta  #2 8.17  25,000,000 38,668 1257 8.38 100% 2% 1% 3%
source secs N mem gz cpu cpu load
fasta  #4 2.96  250,000 31,644 1524 0.38 45% 9% 23% 29%
fasta  #4 0.72  2,500,000 37,720 1524 0.87 11% 23% 91% 3%
fasta  #4 5.06  25,000,000 38,228 1524 5.23 99% 2% 2% 3%
source secs N mem gz cpu cpu load
fasta  #5 2.74  250,000 31,752 2473 0.54 8% 57% 30% 13%
fasta  #5 0.45  2,500,000 39,988 2473 1.06 96% 71% 72% 30%
fasta  #5 2.23  25,000,000 45,156 2473 5.96 51% 62% 59% 97%
source secs N mem gz cpu cpu load
k-nucleotide  3.95  250,000 66,020 1812 1.49 40% 28% 24% 29%
k-nucleotide  1.48  2,500,000 97,636 1812 3.84 70% 56% 64% 80%
k-nucleotide  8.70  25,000,000 446,004 1812 27.04 83% 78% 78% 73%
source secs N mem gz cpu cpu load
k-nucleotide  #3 3.73  250,000 65,384 1635 1.91 40% 32% 28% 33%
k-nucleotide  #3 1.92  2,500,000 102,528 1635 5.76 72% 81% 87% 71%
k-nucleotide  #3 12.10  25,000,000 481,956 1635 40.65 80% 82% 80% 98%
source secs N mem gz cpu cpu load
k-nucleotide  #5 4.70  250,000 175,908 2219 4.07 60% 40% 36% 33%
k-nucleotide  #5 4.41  2,500,000 186,572 2219 9.56 27% 26% 84% 86%
k-nucleotide  #5 34.31  25,000,000 243,300 2219 78.37 50% 37% 73% 70%
source secs N mem gz cpu cpu load
k-nucleotide  #4 3.87  250,000 168,092 1882 1.97 33% 14% 36% 34%
k-nucleotide  #4 6.01  2,500,000 179,952 1882 6.57 31% 4% 59% 17%
k-nucleotide  #4 59.75  25,000,000 210,984 1882 60.63 1% 100% 1% 1%
source secs N mem gz cpu cpu load
k-nucleotide  #6 3.85  250,000 57,088 1607 1.94 38% 36% 39% 27%
k-nucleotide  #6 1.85  2,500,000 121,380 1607 5.45 68% 73% 90% 73%
k-nucleotide  #6 11.80  25,000,000 468,716 1607 39.56 99% 78% 80% 81%
source secs N mem gz cpu cpu load
mandelbrot  #4 2.96  1,000 30,400 660 0.53 27% 37% 55% 5%
mandelbrot  #4 0.78  4,000 36,952 660 2.06 86% 69% 55% 65%
mandelbrot  #4 8.89  16,000 67,608 660 27.00 98% 50% 81% 76%
source secs N mem gz cpu cpu load
mandelbrot  #2 2.64  1,000 33,040 796 0.57 59% 14% 21% 17%
mandelbrot  #2 0.58  4,000 34,948 796 1.99 89% 88% 86% 82%
mandelbrot  #2 5.98  16,000 79,184 796 23.38 98% 98% 97% 99%
source secs N mem gz cpu cpu load
mandelbrot  2.94  1,000 30,388 665 0.39 53% 26% 25% 12%
mandelbrot  2.86  4,000 35,204 665 2.92 1% 3% 99% 1%
mandelbrot  43.86  16,000 35,832 665 43.92 0% 1% 100% 0%
source secs N mem gz cpu cpu load
mandelbrot  #6 2.62  1,000 31,780 802 0.53 25% 27% 27% 19%
mandelbrot  #6 0.66  4,000 35,224 802 2.30 92% 89% 91% 88%
mandelbrot  #6 7.35  16,000 78,828 802 28.65 97% 98% 97% 98%
source secs N mem gz cpu cpu load
mandelbrot  #3 2.92  1,000 28,912 903 0.57 49% 5% 25% 39%
mandelbrot  #3 0.97  4,000 37,480 903 3.58 90% 91% 93% 97%
mandelbrot  #3 11.28  16,000 80,660 903 44.64 99% 99% 99% 100%
source secs N mem gz cpu cpu load
n-body  #4 2.99  500,000 33,508 1489 0.45 57% 1% 9% 27%
n-body  #4 2.51  5,000,000 34,924 1489 2.54 98% 1% 2% 3%
n-body  #4 21.95  50,000,000 35,368 1489 21.99 1% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  #2 3.20  500,000 33,296 1424 0.46 34% 28% 27% 18%
n-body  #2 2.60  5,000,000 35,312 1424 2.65 3% 2% 1% 99%
n-body  #2 24.95  50,000,000 35,232 1424 25.00 100% 1% 1% 0%
source secs N mem gz cpu cpu load
n-body  #5 2.81  500,000 31,532 1429 0.43 3% 35% 41% 13%
n-body  #5 2.30  5,000,000 35,528 1429 2.34 3% 3% 2% 99%
n-body  #5 21.94  50,000,000 35,588 1429 21.99 100% 0% 1% 1%
source secs N mem gz cpu cpu load
n-body  #3 2.78  500,000 32,172 1430 0.47 13% 19% 53% 10%
n-body  #3 2.61  5,000,000 35,356 1430 2.65 0% 3% 99% 1%
n-body  #3 24.95  50,000,000 35,420 1430 25.00 0% 100% 1% 0%
source secs N mem gz cpu cpu load
n-body  3.29  500,000 33,596 1430 0.48 44% 14% 14% 25%
n-body  2.63  5,000,000 36,124 1430 2.67 97% 3% 2% 2%
n-body  25.05  50,000,000 36,384 1430 25.11 0% 0% 1% 100%
source secs N mem gz cpu cpu load
pidigits  3.40  2,000 126,752 800 2.29 27% 28% 28% 46%
pidigits  6.91  6,000 309,936 800 8.38 18% 83% 19% 6%
pidigits  19.39  10,000 361,624 800 20.94 44% 2% 50% 12%
source secs N mem gz cpu cpu load
pidigits  #2 3.24  2,000 31,480 938 0.33 36% 20% 27% 23%
pidigits  #2 1.15  6,000 36,136 938 1.31 96% 1% 12% 9%
pidigits  #2 3.07  10,000 39,680 938 3.25 99% 3% 0% 5%
regex-redux  #4 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  #3 3.19  50,000 45,384 929 1.87 32% 38% 31% 28%
regex-redux  #3 1.75  500,000 121,356 929 5.12 79% 86% 61% 76%
regex-redux  #3 11.04  5,000,000 674,336 929 32.32 67% 72% 73% 85%
source secs N mem gz cpu cpu load
regex-redux  3.44  50,000 45,192 868 2.04 34% 35% 46% 26%
regex-redux  2.27  500,000 143,388 868 4.57 42% 44% 49% 75%
regex-redux  16.21  5,000,000 644,644 868 29.37 53% 37% 39% 54%
regex-redux  #5 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  #6 3.26  50,000 44,316 740 1.92 29% 37% 52% 20%
regex-redux  #6 1.73  500,000 113,020 740 4.85 77% 82% 71% 71%
regex-redux  #6 10.48  5,000,000 645,680 740 31.40 72% 87% 74% 68%
regex-redux  #2 Bad Output  50,000
source secs N mem gz cpu cpu load
reverse-complement  #6 2.75  250,000 31,732 752 0.31 66% 12% 22% 10%
reverse-complement  #6 5.92  100,000,000 2,061,388 752 7.02 69% 34% 16% 3%
source secs N mem gz cpu cpu load
reverse-complement  #8 3.65  250,000 35,284 2183 0.36 33% 12% 34% 33%
reverse-complement  #8 3.27  100,000,000 740,524 2183 7.35 44% 57% 84% 43%
source secs N mem gz cpu cpu load
reverse-complement  #4 2.93  250,000 31,420 651 0.32 29% 37% 27% 14%
reverse-complement  #4 9.51  100,000,000 1,931,732 651 9.86 87% 3% 3% 13%
source secs N mem gz cpu cpu load
reverse-complement  #3 4.45  250,000 32,080 1722 0.32 51% 14% 34% 18%
reverse-complement  #3 4.78  100,000,000 1,172,636 1722 11.06 54% 87% 46% 46%
source secs N mem gz cpu cpu load
reverse-complement  #7 4.86  250,000 38,132 1647 0.61 48% 32% 35% 21%
reverse-complement  #7 38.61  100,000,000 1,032,576 1647 9.37 33% 23% 23% 29%
source secs N mem gz cpu cpu load
reverse-complement  #5 3.09  250,000 30,488 1108 0.28 32% 23% 22% 29%
reverse-complement  #5 7.59  100,000,000 1,129,588 1108 7.95 3% 10% 88% 4%
source secs N mem gz cpu cpu load
spectral-norm  2.88  500 35,260 514 0.39 17% 18% 53% 8%
spectral-norm  4.97  3,000 35,928 514 5.06 0% 100% 3% 1%
spectral-norm  16.38  5,500 36,800 514 16.48 1% 0% 1% 100%
source secs N mem gz cpu cpu load
spectral-norm  #2 2.78  500 31,808 950 0.65 12% 33% 49% 9%
spectral-norm  #2 1.44  3,000 36,604 950 5.33 91% 96% 93% 92%
spectral-norm  #2 4.19  5,500 36,740 950 16.35 98% 97% 98% 98%