The Computer Language
Benchmarks Game

all Java programs & measurements

openjdk 17 2021-09-14
OpenJDK Runtime Environment (build 17+35-2724)
OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)

source secs N mem gz cpu cpu load
binary-trees  #7 1.51  7 35,576 835 0.21 35% 15% 15% 15%
binary-trees  #7 0.09  14 37,980 835 0.19 80% 60% 44% 50%
binary-trees  #7 2.48  21 1,725,776 835 7.75 74% 75% 97% 72%
source secs N mem gz cpu cpu load
binary-trees  #3 1.50  7 33,368 540 0.19 11% 15% 16% 7%
binary-trees  #3 0.14  14 49,640 540 0.15 15% 27% 38% 67%
binary-trees  #3 4.57  21 2,091,868 540 5.32 10% 9% 93% 9%
source secs N mem gz cpu cpu load
binary-trees  #2 1.87  7 33,920 552 0.18 22% 3% 19% 55%
binary-trees  #2 0.13  14 51,628 552 0.15 29% 31% 64% 21%
binary-trees  #2 4.77  21 2,091,580 552 5.46 17% 30% 20% 51%
source secs N mem gz cpu cpu load
binary-trees  #6 1.37  7 33,880 529 0.18 39% 7% 1% 34%
binary-trees  #6 0.13  14 50,716 529 0.16 21% 43% 31% 42%
binary-trees  #6 4.59  21 2,066,412 529 5.32 23% 10% 76% 9%
source secs N mem gz cpu cpu load
binary-trees  #4 1.42  7 34,696 840 0.18 19% 11% 15% 5%
binary-trees  #4 0.13  14 32,156 840 0.17 33% 31% 57% 54%
binary-trees  #4 4.81  21 2,110,392 840 5.51 91% 6% 7% 13%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 1.81  10 35,436 514 0.57 9% 43% 8% 33%
fannkuch-redux  #2 3.51  11 35,128 514 3.53 1% 1% 99% 1%
fannkuch-redux  #2 43.92  12 35,356 514 43.96 0% 0% 100% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  1.51  10 35,844 1282 0.64 29% 14% 13% 34%
fannkuch-redux  0.87  11 34,976 1282 3.21 91% 88% 97% 93%
fannkuch-redux  10.38  12 35,388 1282 40.82 99% 99% 98% 97%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 1.63  10 35,280 1257 0.43 23% 12% 3% 71%
fannkuch-redux  #3 3.09  11 34,304 1257 3.13 2% 3% 3% 97%
fannkuch-redux  #3 41.11  12 34,660 1257 41.17 1% 0% 100% 1%
source secs N mem gz cpu cpu load
fasta  #5 1.51  250,000 37,752 2473 0.37 31% 9% 17% 5%
fasta  #5 0.23  2,500,000 41,412 2473 0.59 64% 83% 59% 57%
fasta  #5 1.26  25,000,000 44,600 2473 3.87 72% 94% 71% 69%
source secs N mem gz cpu cpu load
fasta  #2 1.57  250,000 36,360 1257 0.30 17% 15% 19% 5%
fasta  #2 0.57  2,500,000 37,980 1257 0.62 2% 11% 5% 95%
fasta  #2 4.33  25,000,000 38,636 1257 4.39 99% 0% 0% 2%
source secs N mem gz cpu cpu load
fasta  #6 1.50  250,000 36,304 2543 0.36 5% 16% 25% 12%
fasta  #6 0.25  2,500,000 40,764 2543 0.58 50% 55% 64% 72%
fasta  #6 1.19  25,000,000 44,740 2543 3.54 75% 63% 87% 70%
source secs N mem gz cpu cpu load
fasta  #4 1.50  250,000 36,748 1524 0.27 8% 5% 16% 72%
fasta  #4 0.43  2,500,000 37,896 1524 0.48 5% 14% 5% 88%
fasta  #4 3.20  25,000,000 38,128 1524 3.25 1% 1% 99% 2%
source secs N mem gz cpu cpu load
k-nucleotide  #5 2.19  250,000 197,716 2219 1.39 46% 19% 27% 19%
k-nucleotide  #5 2.24  2,500,000 208,884 2219 4.57 83% 71% 25% 28%
k-nucleotide  #5 20.06  25,000,000 210,408 2219 44.04 81% 94% 17% 30%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.95  250,000 98,084 1635 1.09 18% 22% 19% 69%
k-nucleotide  #3 1.02  2,500,000 147,776 1635 3.09 70% 87% 75% 72%
k-nucleotide  #3 7.33  25,000,000 350,336 1635 26.10 86% 85% 87% 98%
source secs N mem gz cpu cpu load
k-nucleotide  #6 1.90  250,000 73,624 1607 1.02 16% 24% 34% 19%
k-nucleotide  #6 1.14  2,500,000 147,384 1607 3.10 70% 83% 67% 65%
k-nucleotide  #6 7.37  25,000,000 349,820 1607 26.10 95% 84% 89% 86%
source secs N mem gz cpu cpu load
k-nucleotide  #4 2.09  250,000 192,552 1882 1.11 10% 13% 24% 29%
k-nucleotide  #4 4.03  2,500,000 203,656 1882 4.27 87% 9% 16% 8%
k-nucleotide  #4 36.71  25,000,000 202,148 1882 37.16 9% 25% 68% 1%
source secs N mem gz cpu cpu load
k-nucleotide  2.40  250,000 63,632 1812 1.08 18% 12% 40% 27%
k-nucleotide  0.84  2,500,000 131,296 1812 2.23 59% 64% 64% 85%
k-nucleotide  4.85  25,000,000 354,288 1812 15.83 80% 85% 87% 76%
source secs N mem gz cpu cpu load
mandelbrot  #2 1.53  1,000 35,552 796 0.28 14% 20% 4% 15%
mandelbrot  #2 0.33  4,000 36,096 796 1.13 84% 94% 91% 85%
mandelbrot  #2 4.12  16,000 70,952 796 16.20 98% 98% 98% 99%
source secs N mem gz cpu cpu load
mandelbrot  #3 1.56  1,000 35,088 903 0.40 34% 10% 8% 36%
mandelbrot  #3 0.67  4,000 37,600 903 2.46 93% 92% 95% 91%
mandelbrot  #3 7.35  16,000 70,360 903 29.06 99% 99% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  1.55  1,000 35,512 665 0.29 35% 9% 1% 32%
mandelbrot  1.81  4,000 35,308 665 1.84 99% 2% 2% 0%
mandelbrot  27.79  16,000 35,568 665 27.81 0% 100% 0% 0%
source secs N mem gz cpu cpu load
mandelbrot  #4 1.54  1,000 35,884 660 0.50 8% 14% 29% 10%
mandelbrot  #4 0.38  4,000 37,916 660 1.16 76% 73% 69% 92%
mandelbrot  #4 4.42  16,000 67,580 660 16.14 96% 84% 87% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 1.47  1,000 34,480 802 0.44 11% 26% 9% 34%
mandelbrot  #6 0.37  4,000 36,504 802 1.24 83% 86% 84% 89%
mandelbrot  #6 4.30  16,000 69,004 802 16.90 99% 99% 98% 98%
source secs N mem gz cpu cpu load
n-body  #3 1.69  500,000 35,800 1430 0.24 25% 1% 5% 43%
n-body  #3 0.81  5,000,000 34,880 1430 0.81 1% 1% 94% 4%
n-body  #3 7.45  50,000,000 35,688 1430 7.47 1% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #2 1.86  500,000 36,364 1424 0.25 21% 16% 25% 11%
n-body  #2 0.82  5,000,000 35,604 1424 0.82 4% 2% 1% 96%
n-body  #2 7.47  50,000,000 35,956 1424 7.49 0% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  #5 1.67  500,000 35,468 1429 0.26 34% 18% 2% 13%
n-body  #5 0.78  5,000,000 34,852 1429 0.77 3% 0% 3% 94%
n-body  #5 7.03  50,000,000 35,608 1429 7.05 0% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  1.68  500,000 38,240 1430 0.31 7% 17% 31% 4%
n-body  0.86  5,000,000 38,144 1430 0.88 1% 0% 2% 97%
n-body  7.82  50,000,000 38,120 1430 7.85 0% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #4 1.69  500,000 35,412 1489 0.25 3% 16% 1% 79%
n-body  #4 0.75  5,000,000 35,152 1489 0.74 93% 3% 3% 3%
n-body  #4 6.77  50,000,000 35,432 1489 6.79 100% 1% 0% 0%
source secs N mem gz cpu cpu load
pidigits  1.91  2,000 209,180 800 1.03 23% 14% 15% 73%
pidigits  2.92  6,000 405,992 800 3.60 33% 38% 35% 19%
pidigits  7.89  10,000 408,552 800 8.58 21% 37% 22% 29%
source secs N mem gz cpu cpu load
pidigits  #2 1.53  2,000 35,184 938 0.21 1% 7% 11% 69%
pidigits  #2 0.53  6,000 39,224 938 0.57 4% 8% 92% 17%
pidigits  #2 1.34  10,000 39,496 938 1.42 2% 4% 99% 5%
source secs N mem gz cpu cpu load
pidigits  #3 1.49  2,000 32,984 764 0.17 27% 3% 11% 11%
pidigits  #3 0.37  6,000 35,648 764 0.38 8% 92% 11% 22%
pidigits  #3 0.93  10,000 36,088 764 0.96 4% 0% 1% 99%
source secs N mem gz cpu cpu load
regex-redux  #6 1.71  50,000 47,652 740 1.04 28% 14% 22% 73%
regex-redux  #6 0.88  500,000 164,716 740 2.41 68% 72% 60% 75%
regex-redux  #6 5.36  5,000,000 819,808 740 16.79 74% 90% 75% 75%
source secs N mem gz cpu cpu load
regex-redux  #3 1.84  50,000 56,144 929 1.01 27% 35% 15% 25%
regex-redux  #3 0.88  500,000 203,164 929 2.67 74% 73% 82% 94%
regex-redux  #3 5.31  5,000,000 793,572 929 17.38 79% 78% 83% 89%
source secs N mem gz cpu cpu load
regex-redux  1.93  50,000 51,512 868 1.19 22% 20% 32% 21%
regex-redux  1.18  500,000 209,296 868 2.53 85% 58% 36% 39%
regex-redux  8.44  5,000,000 933,316 868 16.77 35% 54% 54% 60%
source secs N mem gz cpu cpu load
reverse-complement  #5 1.55  250,000 36,024 1108 0.21 8% 10% 31% 3%
reverse-complement  #5 4.39  100,000,000 1,109,192 1108 4.51 3% 7% 88% 4%
source secs N mem gz cpu cpu load
reverse-complement  #6 1.64  250,000 37,176 752 0.19 8% 26% 4% 16%
reverse-complement  #6 3.01  100,000,000 2,046,960 752 3.64 42% 1% 78% 1%
source secs N mem gz cpu cpu load
reverse-complement  #3 1.56  250,000 51,568 1722 0.23 15% 11% 28% 8%
reverse-complement  #3 2.37  100,000,000 1,173,044 1722 4.97 37% 53% 82% 36%
source secs N mem gz cpu cpu load
reverse-complement  #4 1.92  250,000 38,660 651 0.28 28% 7% 18% 78%
reverse-complement  #4 5.03  100,000,000 1,903,504 651 5.13 5% 2% 5% 90%
source secs N mem gz cpu cpu load
reverse-complement  #7 1.78  250,000 39,128 1647 0.36 16% 14% 15% 20%
reverse-complement  #7 23.20  100,000,000 1,033,476 1647 6.05 8% 54% 11% 6%
source secs N mem gz cpu cpu load
reverse-complement  #8 1.60  250,000 36,696 2183 0.23 24% 8% 3% 32%
reverse-complement  #8 1.53  100,000,000 687,864 2183 3.50 80% 46% 57% 46%
source secs N mem gz cpu cpu load
spectral-norm  1.68  500 37,424 514 0.31 4% 16% 1% 75%
spectral-norm  2.46  3,000 38,104 514 2.49 98% 2% 2% 2%
spectral-norm  8.02  5,500 38,696 514 8.05 100% 0% 0% 1%
source secs N mem gz cpu cpu load
spectral-norm  #3 1.56  500 37,948 756 0.34 22% 10% 4% 30%
spectral-norm  #3 0.58  3,000 38,360 756 1.93 92% 84% 81% 83%
spectral-norm  #3 1.58  5,500 39,408 756 5.96 94% 94% 96% 94%
source secs N mem gz cpu cpu load
spectral-norm  #2 1.69  500 37,544 950 0.40 17% 8% 15% 55%
spectral-norm  #2 0.91  3,000 37,932 950 3.23 89% 90% 87% 92%
spectral-norm  #2 2.33  5,500 38,300 950 9.05 97% 97% 97% 98%