The Computer Language
Benchmarks Game

all Java programs & measurements

openjdk 16 2021-03-16
OpenJDK Runtime Environment (build 16+36-2231)
OpenJDK 64-Bit Server VM (build 16+36-2231, mixed mode, sharing)

source secs N mem gz cpu cpu load
binary-trees  #7 1.41  7 36,008 835 0.16 29% 5% 8% 24%
binary-trees  #7 0.10  14 37,868 835 0.21 46% 50% 67% 70%
binary-trees  #7 2.48  21 1,722,848 835 7.84 98% 75% 71% 74%
source secs N mem gz cpu cpu load
binary-trees  #3 1.33  7 33,704 540 0.14 18% 14% 11% 28%
binary-trees  #3 0.12  14 36,780 540 0.17 64% 31% 18% 36%
binary-trees  #3 4.64  21 2,046,328 540 5.36 12% 91% 9% 6%
source secs N mem gz cpu cpu load
binary-trees  #2 1.46  7 33,960 552 0.14 16% 32% 8% 5%
binary-trees  #2 0.13  14 56,308 552 0.18 17% 38% 33% 42%
binary-trees  #2 4.77  21 2,061,836 552 5.47 91% 7% 12% 7%
source secs N mem gz cpu cpu load
binary-trees  #6 1.44  7 34,164 529 0.13 9% 17% 9% 31%
binary-trees  #6 0.13  14 36,748 529 0.18 33% 15% 36% 67%
binary-trees  #6 4.61  21 2,069,824 529 5.32 6% 6% 15% 91%
source secs N mem gz cpu cpu load
binary-trees  #4 1.39  7 34,024 840 0.15 20% 6% 13% 28%
binary-trees  #4 0.12  14 37,684 840 0.18 67% 33% 33% 42%
binary-trees  #4 4.73  21 2,099,092 840 5.45 41% 31% 46% 26%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 1.75  10 34,716 514 0.51 51% 7% 2% 23%
fannkuch-redux  #2 3.50  11 34,668 514 3.53 1% 2% 99% 1%
fannkuch-redux  #2 45.44  12 35,364 514 45.47 1% 1% 100% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  1.50  10 34,980 1282 0.52 39% 13% 13% 39%
fannkuch-redux  0.93  11 35,076 1282 3.44 92% 95% 92% 92%
fannkuch-redux  10.64  12 35,192 1282 41.89 99% 98% 99% 97%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 1.69  10 34,868 1257 0.41 20% 9% 9% 38%
fannkuch-redux  #3 3.06  11 34,028 1257 3.09 97% 1% 2% 2%
fannkuch-redux  #3 41.43  12 34,952 1257 41.47 0% 0% 100% 0%
source secs N mem gz cpu cpu load
fasta  #5 1.53  250,000 38,428 2473 0.30 5% 28% 27% 11%
fasta  #5 0.24  2,500,000 41,436 2473 0.60 58% 57% 72% 74%
fasta  #5 1.30  25,000,000 45,060 2473 3.96 69% 72% 70% 91%
source secs N mem gz cpu cpu load
fasta  #2 1.39  250,000 36,476 1257 0.24 23% 9% 3% 29%
fasta  #2 0.56  2,500,000 38,168 1257 0.64 5% 98% 13% 9%
fasta  #2 4.47  25,000,000 38,448 1257 4.55 99% 1% 0% 1%
source secs N mem gz cpu cpu load
fasta  #6 1.39  250,000 35,576 2543 0.36 17% 25% 13% 14%
fasta  #6 0.23  2,500,000 41,136 2543 0.62 74% 75% 60% 61%
fasta  #6 1.21  25,000,000 44,620 2543 3.59 89% 75% 65% 68%
source secs N mem gz cpu cpu load
fasta  #4 1.35  250,000 36,676 1524 0.19 26% 11% 3% 27%
fasta  #4 0.42  2,500,000 38,152 1524 0.49 7% 95% 9% 14%
fasta  #4 3.16  25,000,000 38,296 1524 3.23 2% 32% 68% 1%
source secs N mem gz cpu cpu load
k-nucleotide  #5 1.92  250,000 196,788 2219 1.23 26% 25% 14% 63%
k-nucleotide  #5 2.32  2,500,000 215,428 2219 5.05 62% 84% 40% 33%
k-nucleotide  #5 18.22  25,000,000 210,572 2219 42.10 31% 22% 93% 85%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.73  250,000 97,720 1635 0.95 39% 18% 12% 40%
k-nucleotide  #3 1.08  2,500,000 146,896 1635 3.29 69% 93% 72% 72%
k-nucleotide  #3 7.38  25,000,000 349,876 1635 25.88 98% 84% 85% 84%
source secs N mem gz cpu cpu load
k-nucleotide  #6 1.70  250,000 75,476 1607 0.90 39% 21% 13% 33%
k-nucleotide  #6 1.07  2,500,000 148,072 1607 3.22 79% 79% 72% 73%
k-nucleotide  #6 7.45  25,000,000 349,448 1607 26.16 90% 89% 85% 88%
source secs N mem gz cpu cpu load
k-nucleotide  #4 1.97  250,000 192,360 1882 0.92 15% 25% 11% 69%
k-nucleotide  #4 3.93  2,500,000 203,784 1882 4.22 4% 3% 86% 15%
k-nucleotide  #4 36.78  25,000,000 201,364 1882 37.22 1% 32% 60% 10%
source secs N mem gz cpu cpu load
k-nucleotide  1.98  250,000 62,772 1812 0.86 26% 23% 36% 15%
k-nucleotide  0.82  2,500,000 131,772 1812 2.17 71% 60% 56% 84%
k-nucleotide  4.98  25,000,000 356,904 1812 16.23 78% 76% 96% 76%
source secs N mem gz cpu cpu load
mandelbrot  #2 1.37  1,000 35,300 796 0.28 23% 10% 6% 29%
mandelbrot  #2 0.33  4,000 36,240 796 1.14 85% 84% 91% 94%
mandelbrot  #2 4.15  16,000 69,136 796 16.28 98% 99% 98% 99%
source secs N mem gz cpu cpu load
mandelbrot  #3 1.39  1,000 34,404 903 0.30 26% 15% 4% 36%
mandelbrot  #3 0.66  4,000 37,468 903 2.45 91% 94% 97% 91%
mandelbrot  #3 7.38  16,000 70,252 903 29.19 99% 99% 100% 99%
source secs N mem gz cpu cpu load
mandelbrot  1.53  1,000 35,144 665 0.24 19% 33% 6% 1%
mandelbrot  1.80  4,000 35,344 665 1.83 3% 1% 99% 1%
mandelbrot  27.73  16,000 35,624 665 27.75 100% 0% 0% 0%
source secs N mem gz cpu cpu load
mandelbrot  #4 1.42  1,000 34,284 660 0.25 24% 19% 8% 26%
mandelbrot  #4 0.44  4,000 38,252 660 1.16 88% 61% 52% 71%
mandelbrot  #4 5.22  16,000 67,840 660 16.10 99% 77% 84% 50%
source secs N mem gz cpu cpu load
mandelbrot  #6 1.41  1,000 34,996 802 0.23 7% 5% 13% 73%
mandelbrot  #6 0.33  4,000 35,940 802 1.17 83% 82% 97% 88%
mandelbrot  #6 4.25  16,000 69,004 802 16.68 99% 99% 98% 98%
source secs N mem gz cpu cpu load
n-body  #3 1.39  500,000 36,292 1430 0.20 30% 7% 6% 26%
n-body  #3 0.80  5,000,000 35,640 1430 0.82 95% 4% 6% 9%
n-body  #3 7.41  50,000,000 36,476 1430 7.43 1% 1% 2% 100%
source secs N mem gz cpu cpu load
n-body  #2 1.43  500,000 35,908 1424 0.21 28% 20% 1% 14%
n-body  #2 0.84  5,000,000 36,144 1424 0.83 6% 4% 91% 11%
n-body  #2 7.46  50,000,000 36,548 1424 7.48 0% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  #5 1.44  500,000 36,000 1429 0.17 16% 15% 3% 54%
n-body  #5 0.77  5,000,000 36,632 1429 0.78 94% 1% 5% 7%
n-body  #5 7.01  50,000,000 36,288 1429 7.03 0% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  1.48  500,000 37,800 1430 0.23 28% 6% 21% 5%
n-body  0.84  5,000,000 38,364 1430 0.87 5% 1% 2% 99%
n-body  7.82  50,000,000 38,308 1430 7.86 0% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #4 1.41  500,000 35,452 1489 0.18 39% 7% 2% 34%
n-body  #4 0.74  5,000,000 35,768 1489 0.74 97% 5% 0% 1%
n-body  #4 6.74  50,000,000 35,844 1489 6.76 1% 100% 1% 0%
source secs N mem gz cpu cpu load
pidigits  1.70  2,000 212,644 800 1.06 17% 5% 49% 42%
pidigits  2.84  6,000 410,300 800 3.59 42% 14% 45% 26%
pidigits  7.38  10,000 410,436 800 8.11 40% 25% 8% 37%
source secs N mem gz cpu cpu load
pidigits  #2 1.40  2,000 35,300 938 0.15 28% 5% 9% 26%
pidigits  #2 0.50  6,000 38,688 938 0.57 14% 8% 2% 98%
pidigits  #2 1.34  10,000 39,252 938 1.41 4% 3% 1% 99%
source secs N mem gz cpu cpu load
pidigits  #3 1.33  2,000 32,196 764 0.12 12% 6% 19% 37%
pidigits  #3 0.35  6,000 36,032 764 0.38 3% 12% 97% 6%
pidigits  #3 0.93  10,000 36,552 764 0.96 2% 3% 1% 99%
source secs N mem gz cpu cpu load
regex-redux  #6 1.70  50,000 56,844 740 1.04 40% 21% 14% 40%
regex-redux  #6 0.91  500,000 176,380 740 2.64 71% 70% 75% 77%
regex-redux  #6 5.59  5,000,000 935,652 740 17.95 78% 83% 85% 76%
source secs N mem gz cpu cpu load
regex-redux  #3 1.69  50,000 54,528 929 0.94 23% 39% 20% 35%
regex-redux  #3 0.95  500,000 197,152 929 2.73 62% 78% 80% 69%
regex-redux  #3 5.58  5,000,000 985,696 929 18.09 81% 77% 84% 85%
source secs N mem gz cpu cpu load
regex-redux  1.70  50,000 54,864 868 1.25 36% 21% 18% 42%
regex-redux  1.25  500,000 204,176 868 2.47 51% 40% 42% 72%
regex-redux  9.02  5,000,000 867,908 868 17.32 58% 55% 37% 45%
source secs N mem gz cpu cpu load
reverse-complement  #5 1.30  250,000 30,540 1108 0.14 21% 11% 5% 31%
reverse-complement  #5 4.36  100,000,000 1,109,100 1108 4.47 2% 2% 2% 98%
source secs N mem gz cpu cpu load
reverse-complement  #6 1.55  250,000 36,512 752 0.15 8% 15% 13% 17%
reverse-complement  #6 3.08  100,000,000 2,046,044 752 3.72 1% 1% 79% 42%
source secs N mem gz cpu cpu load
reverse-complement  #3 1.57  250,000 49,188 1722 0.17 28% 8% 9% 24%
reverse-complement  #3 2.31  100,000,000 1,185,520 1722 4.94 50% 38% 88% 40%
source secs N mem gz cpu cpu load
reverse-complement  #4 1.32  250,000 38,252 651 0.21 24% 8% 3% 33%
reverse-complement  #4 5.01  100,000,000 1,903,176 651 5.10 3% 1% 98% 3%
source secs N mem gz cpu cpu load
reverse-complement  #7 1.61  250,000 39,268 1647 0.29 22% 11% 11% 35%
reverse-complement  #7 21.81  100,000,000 1,033,720 1647 5.59 31% 9% 6% 27%
source secs N mem gz cpu cpu load
reverse-complement  #8 1.67  250,000 36,540 2183 0.20 17% 18% 9% 36%
reverse-complement  #8 1.54  100,000,000 670,924 2183 3.50 46% 56% 48% 79%
source secs N mem gz cpu cpu load
spectral-norm  1.56  500 37,296 514 0.21 22% 6% 11% 24%
spectral-norm  1.89  3,000 38,032 514 1.94 2% 2% 10% 99%
spectral-norm  6.17  5,500 38,636 514 6.21 0% 0% 99% 1%
source secs N mem gz cpu cpu load
spectral-norm  #3 1.56  500 36,472 756 0.29 19% 13% 8% 24%
spectral-norm  #3 0.58  3,000 38,788 756 2.08 88% 86% 88% 95%
spectral-norm  #3 1.63  5,500 39,304 756 6.20 95% 97% 95% 95%
source secs N mem gz cpu cpu load
spectral-norm  #2 1.56  500 36,512 950 0.25 15% 7% 12% 58%
spectral-norm  #2 0.58  3,000 38,152 950 2.08 88% 89% 86% 95%
spectral-norm  #2 1.66  5,500 38,240 950 6.30 95% 95% 95% 98%