The Computer Language
Benchmarks Game

all Java programs & measurements

openjdk 15 2020-09-15
OpenJDK Runtime Environment (build 15+36-1562)
OpenJDK 64-Bit Server VM (build 15+36-1562, mixed mode, sharing)

source secs N mem gz cpu cpu load
binary-trees  #2 1.39  7 33,236 552 0.16 30% 5% 7% 30%
binary-trees  #2 0.13  14 56,448 552 0.17 64% 50% 31% 23%
binary-trees  #2 4.82  21 1,952,424 552 5.62 15% 49% 37% 17%
source secs N mem gz cpu cpu load
binary-trees  #7 1.44  7 34,640 835 0.20 31% 15% 8% 22%
binary-trees  #7 0.11  14 36,304 835 0.21 55% 55% 40% 64%
binary-trees  #7 2.50  21 2,487,096 835 7.86 88% 75% 75% 79%
source secs N mem gz cpu cpu load
binary-trees  #6 1.38  7 33,056 529 0.15 4% 13% 12% 52%
binary-trees  #6 0.13  14 52,828 529 0.18 8% 69% 46% 15%
binary-trees  #6 4.62  21 2,002,384 529 5.37 11% 91% 7% 8%
source secs N mem gz cpu cpu load
binary-trees  #3 1.32  7 33,064 540 0.17 24% 8% 1% 29%
binary-trees  #3 0.13  14 55,956 540 0.18 85% 15% 43% 31%
binary-trees  #3 4.65  21 2,013,384 540 5.43 10% 37% 53% 19%
source secs N mem gz cpu cpu load
binary-trees  #4 1.44  7 33,960 840 0.18 28% 14% 6% 27%
binary-trees  #4 0.13  14 51,372 840 0.20 8% 57% 33% 54%
binary-trees  #4 4.20  21 2,178,184 840 5.01 37% 40% 28% 14%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 1.65  10 34,416 1257 0.43 6% 4% 49% 27%
fannkuch-redux  #3 3.06  11 33,848 1257 3.12 98% 2% 1% 4%
fannkuch-redux  #3 41.43  12 33,864 1257 41.47 1% 0% 100% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  1.42  10 35,060 1282 0.55 17% 29% 17% 14%
fannkuch-redux  0.93  11 33,948 1282 3.48 91% 96% 92% 94%
fannkuch-redux  11.00  12 34,104 1282 43.35 99% 98% 98% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 1.69  10 34,200 514 0.51 1% 10% 15% 49%
fannkuch-redux  #2 3.64  11 34,384 514 3.70 99% 1% 2% 2%
fannkuch-redux  #2 44.81  12 34,576 514 44.87 100% 0% 0% 0%
source secs N mem gz cpu cpu load
fasta  #4 1.44  250,000 35,616 1524 0.24 11% 24% 20% 15%
fasta  #4 0.44  2,500,000 37,028 1524 0.52 16% 7% 95% 2%
fasta  #4 3.18  25,000,000 37,560 1524 3.26 99% 2% 1% 2%
source secs N mem gz cpu cpu load
fasta  #5 1.38  250,000 37,648 2473 0.32 31% 4% 17% 41%
fasta  #5 0.24  2,500,000 40,028 2473 0.66 58% 64% 75% 76%
fasta  #5 1.27  25,000,000 43,968 2473 3.96 73% 95% 70% 70%
source secs N mem gz cpu cpu load
fasta  #6 1.36  250,000 40,228 2543 0.34 27% 8% 13% 34%
fasta  #6 0.24  2,500,000 40,368 2543 0.64 61% 73% 75% 62%
fasta  #6 1.20  25,000,000 44,124 2543 3.62 79% 86% 69% 65%
source secs N mem gz cpu cpu load
fasta  #2 1.40  250,000 36,876 1257 0.27 18% 3% 5% 66%
fasta  #2 0.57  2,500,000 37,292 1257 0.66 2% 93% 10% 12%
fasta  #2 4.44  25,000,000 38,128 1257 4.53 0% 100% 1% 1%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.75  250,000 82,340 1635 0.94 17% 21% 40% 26%
k-nucleotide  #3 1.08  2,500,000 132,152 1635 3.20 69% 70% 88% 73%
k-nucleotide  #3 7.43  25,000,000 419,260 1635 25.98 85% 86% 90% 89%
source secs N mem gz cpu cpu load
k-nucleotide  2.02  250,000 63,120 1812 0.97 30% 20% 13% 28%
k-nucleotide  0.86  2,500,000 132,960 1812 2.22 59% 67% 66% 71%
k-nucleotide  5.00  25,000,000 408,040 1812 16.32 74% 81% 86% 86%
source secs N mem gz cpu cpu load
k-nucleotide  #6 1.81  250,000 81,064 1607 0.99 30% 17% 21% 34%
k-nucleotide  #6 1.08  2,500,000 132,720 1607 3.27 71% 75% 71% 93%
k-nucleotide  #6 7.41  25,000,000 419,660 1607 25.92 90% 82% 92% 87%
source secs N mem gz cpu cpu load
k-nucleotide  #4 1.99  250,000 173,676 1882 0.96 36% 15% 19% 15%
k-nucleotide  #4 3.83  2,500,000 186,684 1882 4.07 5% 4% 92% 6%
k-nucleotide  #4 36.02  25,000,000 198,196 1882 36.47 0% 92% 1% 9%
source secs N mem gz cpu cpu load
k-nucleotide  #5 1.74  250,000 176,528 2219 1.27 17% 16% 37% 63%
k-nucleotide  #5 2.44  2,500,000 203,364 2219 5.08 39% 27% 63% 87%
k-nucleotide  #5 17.49  25,000,000 208,408 2219 41.34 59% 95% 40% 44%
source secs N mem gz cpu cpu load
mandelbrot  #6 1.27  1,000 32,592 802 0.27 24% 5% 8% 38%
mandelbrot  #6 0.35  4,000 35,580 802 1.21 79% 91% 83% 92%
mandelbrot  #6 4.25  16,000 68,636 802 16.76 99% 99% 98% 98%
source secs N mem gz cpu cpu load
mandelbrot  1.41  1,000 33,784 665 0.26 13% 21% 5% 26%
mandelbrot  1.81  4,000 34,520 665 1.84 1% 99% 1% 1%
mandelbrot  27.74  16,000 34,536 665 27.79 1% 0% 0% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 1.49  1,000 33,380 903 0.28 24% 1% 3% 68%
mandelbrot  #3 0.67  4,000 36,568 903 2.47 93% 97% 87% 91%
mandelbrot  #3 7.36  16,000 68,692 903 29.13 99% 99% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  #4 1.36  1,000 34,360 660 0.31 7% 22% 6% 44%
mandelbrot  #4 0.42  4,000 37,064 660 1.15 71% 83% 52% 69%
mandelbrot  #4 5.14  16,000 67,456 660 15.92 84% 78% 98% 51%
source secs N mem gz cpu cpu load
mandelbrot  #2 1.33  1,000 34,632 796 0.24 6% 11% 19% 61%
mandelbrot  #2 0.34  4,000 35,188 796 1.16 83% 91% 82% 91%
mandelbrot  #2 4.11  16,000 68,204 796 16.17 98% 99% 98% 99%
source secs N mem gz cpu cpu load
n-body  #4 1.33  500,000 33,840 1489 0.19 26% 3% 2% 47%
n-body  #4 0.74  5,000,000 35,144 1489 0.76 3% 1% 99% 1%
n-body  #4 6.75  50,000,000 35,200 1489 6.78 0% 0% 100% 1%
source secs N mem gz cpu cpu load
n-body  #5 1.58  500,000 34,576 1429 0.22 30% 14% 3% 33%
n-body  #5 0.76  5,000,000 34,932 1429 0.79 3% 1% 5% 96%
n-body  #5 6.98  50,000,000 35,560 1429 7.01 100% 0% 1% 0%
source secs N mem gz cpu cpu load
n-body  #2 1.44  500,000 34,088 1424 0.19 5% 3% 13% 94%
n-body  #2 0.80  5,000,000 35,452 1424 0.83 3% 0% 99% 1%
n-body  #2 7.43  50,000,000 35,516 1424 7.46 100% 1% 0% 0%
source secs N mem gz cpu cpu load
n-body  #3 1.32  500,000 34,000 1430 0.20 12% 1% 4% 72%
n-body  #3 0.81  5,000,000 35,200 1430 0.83 2% 9% 2% 96%
n-body  #3 7.45  50,000,000 35,508 1430 7.48 0% 1% 1% 99%
source secs N mem gz cpu cpu load
n-body  1.43  500,000 37,228 1430 0.25 4% 35% 10% 16%
n-body  0.86  5,000,000 37,600 1430 0.90 20% 4% 5% 97%
n-body  7.80  50,000,000 37,588 1430 7.84 100% 1% 0% 0%
source secs N mem gz cpu cpu load
pidigits  #2 1.34  2,000 33,424 938 0.18 13% 11% 34% 7%
pidigits  #2 0.49  6,000 36,480 938 0.57 94% 4% 14% 8%
pidigits  #2 1.29  10,000 38,736 938 1.38 5% 2% 98% 1%
source secs N mem gz cpu cpu load
pidigits  1.68  2,000 209,868 800 1.02 22% 28% 13% 77%
pidigits  2.85  6,000 442,304 800 3.53 44% 34% 21% 26%
pidigits  7.61  10,000 518,172 800 8.32 19% 31% 31% 30%
source secs N mem gz cpu cpu load
pidigits  #3 1.44  2,000 32,308 764 0.15 8% 12% 15% 21%
pidigits  #3 0.31  6,000 35,084 764 0.35 97% 6% 15% 6%
pidigits  #3 0.79  10,000 35,568 764 0.83 99% 3% 3% 1%
source secs N mem gz cpu cpu load
regex-redux  #3 1.53  50,000 54,592 929 0.84 14% 25% 33% 20%
regex-redux  #3 0.83  500,000 148,432 929 2.52 81% 69% 72% 84%
regex-redux  #3 5.70  5,000,000 656,328 929 18.12 89% 76% 79% 75%
source secs N mem gz cpu cpu load
regex-redux  1.54  50,000 52,600 868 0.85 33% 19% 15% 43%
regex-redux  1.20  500,000 147,600 868 2.49 90% 46% 42% 34%
regex-redux  9.28  5,000,000 645,032 868 17.46 46% 47% 52% 45%
source secs N mem gz cpu cpu load
regex-redux  #6 1.62  50,000 53,780 740 0.98 34% 20% 18% 34%
regex-redux  #6 0.91  500,000 159,268 740 2.56 78% 62% 73% 72%
regex-redux  #6 5.82  5,000,000 633,348 740 18.35 81% 81% 75% 79%
source secs N mem gz cpu cpu load
reverse-complement  #7 1.50  250,000 38,760 1647 0.37 26% 5% 13% 30%
reverse-complement  #7 22.74  100,000,000 1,032,516 1647 5.78 16% 5% 12% 45%
source secs N mem gz cpu cpu load
reverse-complement  #8 1.42  250,000 35,460 2183 0.22 15% 10% 24% 36%
reverse-complement  #8 1.54  100,000,000 702,332 2183 3.55 78% 46% 49% 57%
source secs N mem gz cpu cpu load
reverse-complement  #6 1.36  250,000 35,680 752 0.18 23% 9% 7% 31%
reverse-complement  #6 2.94  100,000,000 2,054,460 752 3.65 1% 78% 10% 36%
source secs N mem gz cpu cpu load
reverse-complement  #5 1.33  250,000 34,684 1108 0.17 27% 8% 2% 26%
reverse-complement  #5 4.44  100,000,000 1,122,300 1108 4.60 37% 59% 2% 7%
source secs N mem gz cpu cpu load
reverse-complement  #3 1.35  250,000 49,364 1722 0.20 4% 7% 17% 69%
reverse-complement  #3 2.44  100,000,000 1,172,748 1722 5.07 33% 52% 40% 85%
source secs N mem gz cpu cpu load
reverse-complement  #4 1.16  250,000 31,740 651 0.21 3% 12% 8% 81%
reverse-complement  #4 4.87  100,000,000 1,925,516 651 5.03 62% 33% 8% 5%
source secs N mem gz cpu cpu load
spectral-norm  #3 1.51  500 36,772 756 0.31 22% 5% 10% 35%
spectral-norm  #3 0.62  3,000 38,244 756 2.15 89% 85% 87% 90%
spectral-norm  #3 1.68  5,500 38,984 756 6.44 98% 95% 95% 96%
source secs N mem gz cpu cpu load
spectral-norm  1.41  500 36,372 514 0.24 15% 19% 4% 21%
spectral-norm  1.90  3,000 37,860 514 1.96 99% 2% 3% 9%
spectral-norm  6.17  5,500 38,168 514 6.22 0% 100% 1% 2%
source secs N mem gz cpu cpu load
spectral-norm  #2 1.37  500 36,352 950 0.29 5% 13% 21% 78%
spectral-norm  #2 0.59  3,000 37,808 950 2.07 90% 86% 86% 86%
spectral-norm  #2 1.68  5,500 38,348 950 6.39 96% 96% 96% 95%