The Computer Language
22.01 Benchmarks Game

all Java programs & measurements

openjdk 17.0.1 2021-10-19
OpenJDK Runtime Environment (build 17.0.1+12-39)
OpenJDK 64-Bit Server VM (build 17.0.1+12-39, mixed mode, sharing)

source secs N mem gz cpu cpu load
binary-trees  #7 1.28  7 34,812 835 0.21 4% 37% 13% 6%
binary-trees  #7 0.12  14 33,460 835 0.19 50% 42% 50% 69%
binary-trees  #7 2.51  21 2,479,012 835 7.87 74% 92% 78% 71%
source secs N mem gz cpu cpu load
binary-trees  #3 1.33  7 33,648 540 0.18 8% 10% 27% 10%
binary-trees  #3 0.12  14 37,296 540 0.15 36% 55% 46% 18%
binary-trees  #3 4.75  21 2,121,816 540 5.50 7% 6% 12% 92%
source secs N mem gz cpu cpu load
binary-trees  #2 1.25  7 33,224 552 0.18 14% 5% 13% 64%
binary-trees  #2 0.13  14 49,696 552 0.16 23% 29% 15% 85%
binary-trees  #2 4.79  21 2,057,464 552 5.50 97% 5% 7% 8%
source secs N mem gz cpu cpu load
binary-trees  #4 1.30  7 34,788 840 0.19 16% 8% 27% 6%
binary-trees  #4 0.13  14 52,588 840 0.17 54% 38% 31% 43%
binary-trees  #4 4.75  21 2,082,992 840 5.45 7% 31% 70% 9%
source secs N mem gz cpu cpu load
binary-trees  #6 1.25  7 33,316 529 0.17 8% 3% 23% 29%
binary-trees  #6 0.16  14 40,508 529 0.16 25% 29% 25% 47%
binary-trees  #6 4.59  21 2,100,436 529 5.32 12% 24% 75% 8%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 1.66  10 35,376 514 0.53 47% 6% 5% 24%
fannkuch-redux  #2 4.46  11 35,092 514 4.49 1% 99% 1% 1%
fannkuch-redux  #2 46.08  12 35,896 514 46.12 0% 0% 100% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  1.48  10 36,084 1282 0.59 34% 19% 7% 24%
fannkuch-redux  0.88  11 34,748 1282 3.20 90% 88% 95% 92%
fannkuch-redux  10.48  12 35,264 1282 41.28 98% 99% 99% 98%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 1.57  10 36,096 1257 0.44 25% 2% 28% 27%
fannkuch-redux  #3 3.07  11 35,464 1257 3.11 4% 98% 4% 1%
fannkuch-redux  #3 40.97  12 34,848 1257 41.02 0% 0% 100% 1%
source secs N mem gz cpu cpu load
fasta  #4 1.46  250,000 37,432 1524 0.27 9% 7% 20% 31%
fasta  #4 0.43  2,500,000 38,084 1524 0.47 7% 88% 7% 12%
fasta  #4 3.20  25,000,000 38,372 1524 3.25 98% 3% 0% 3%
source secs N mem gz cpu cpu load
fasta  #6 1.33  250,000 38,356 2543 0.32 13% 10% 5% 70%
fasta  #6 0.23  2,500,000 40,268 2543 0.57 52% 74% 58% 65%
fasta  #6 1.20  25,000,000 44,952 2543 3.56 79% 63% 78% 71%
source secs N mem gz cpu cpu load
fasta  #2 1.38  250,000 37,252 1257 0.31 7% 4% 34% 13%
fasta  #2 0.56  2,500,000 37,660 1257 0.62 9% 4% 98% 11%
fasta  #2 4.39  25,000,000 38,508 1257 4.46 2% 1% 0% 99%
source secs N mem gz cpu cpu load
fasta  #5 1.36  250,000 38,280 2473 0.39 10% 13% 29% 15%
fasta  #5 0.24  2,500,000 40,672 2473 0.59 60% 71% 65% 58%
fasta  #5 1.28  25,000,000 45,020 2473 4.11 76% 73% 95% 76%
source secs N mem gz cpu cpu load
k-nucleotide  #6 1.73  250,000 76,236 1607 0.95 19% 23% 30% 19%
k-nucleotide  #6 1.04  2,500,000 147,432 1607 3.11 70% 70% 75% 94%
k-nucleotide  #6 7.34  25,000,000 350,560 1607 25.91 93% 90% 87% 86%
source secs N mem gz cpu cpu load
k-nucleotide  #5 1.93  250,000 199,944 2219 1.40 34% 19% 23% 68%
k-nucleotide  #5 2.18  2,500,000 213,352 2219 4.91 31% 86% 74% 41%
k-nucleotide  #5 17.87  25,000,000 209,536 2219 41.01 86% 32% 90% 23%
source secs N mem gz cpu cpu load
k-nucleotide  1.75  250,000 63,324 1812 0.96 29% 10% 19% 38%
k-nucleotide  0.87  2,500,000 131,940 1812 2.26 66% 83% 60% 56%
k-nucleotide  4.83  25,000,000 354,148 1812 15.80 87% 83% 81% 76%
source secs N mem gz cpu cpu load
k-nucleotide  #4 2.05  250,000 192,112 1882 1.04 31% 6% 27% 27%
k-nucleotide  #4 4.01  2,500,000 204,884 1882 4.24 7% 5% 9% 85%
k-nucleotide  #4 37.00  25,000,000 200,896 1882 37.44 1% 68% 1% 33%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.65  250,000 83,032 1635 1.07 19% 15% 36% 24%
k-nucleotide  #3 1.05  2,500,000 147,504 1635 3.11 72% 87% 69% 73%
k-nucleotide  #3 7.41  25,000,000 350,172 1635 26.14 85% 97% 85% 87%
source secs N mem gz cpu cpu load
mandelbrot  #4 1.34  1,000 35,120 660 0.27 8% 19% 5% 67%
mandelbrot  #4 0.36  4,000 37,840 660 1.16 81% 72% 74% 92%
mandelbrot  #4 4.41  16,000 67,684 660 16.11 96% 98% 87% 84%
source secs N mem gz cpu cpu load
mandelbrot  #6 1.31  1,000 35,304 802 0.29 11% 9% 29% 15%
mandelbrot  #6 0.36  4,000 36,644 802 1.19 80% 86% 83% 86%
mandelbrot  #6 4.30  16,000 69,520 802 16.92 98% 99% 98% 99%
source secs N mem gz cpu cpu load
mandelbrot  #3 1.25  1,000 34,476 903 0.30 11% 14% 23% 9%
mandelbrot  #3 0.55  4,000 38,252 903 1.97 89% 89% 96% 89%
mandelbrot  #3 7.35  16,000 70,168 903 29.06 99% 99% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  1.40  1,000 35,492 665 0.30 31% 1% 9% 9%
mandelbrot  1.81  4,000 35,464 665 1.83 55% 44% 1% 2%
mandelbrot  27.73  16,000 36,180 665 27.75 0% 100% 0% 0%
source secs N mem gz cpu cpu load
mandelbrot  #2 1.27  1,000 35,712 796 0.32 9% 13% 16% 63%
mandelbrot  #2 0.33  4,000 36,444 796 1.14 85% 88% 91% 88%
mandelbrot  #2 4.10  16,000 70,448 796 16.11 99% 98% 98% 98%
source secs N mem gz cpu cpu load
n-body  #2 1.58  500,000 36,000 1424 0.25 27% 9% 8% 23%
n-body  #2 0.88  5,000,000 36,508 1424 0.81 0% 7% 8% 90%
n-body  #2 7.46  50,000,000 36,176 1424 7.46 0% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #5 1.37  500,000 35,872 1429 0.25 8% 20% 13% 12%
n-body  #5 0.76  5,000,000 35,172 1429 0.77 3% 9% 96% 7%
n-body  #5 7.03  50,000,000 36,116 1429 7.03 0% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  1.50  500,000 37,696 1430 0.29 9% 4% 34% 30%
n-body  0.87  5,000,000 38,036 1430 0.88 2% 97% 1% 1%
n-body  7.81  50,000,000 38,484 1430 7.82 0% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #4 1.30  500,000 35,444 1489 0.24 9% 9% 3% 71%
n-body  #4 0.75  5,000,000 34,832 1489 0.75 5% 3% 1% 99%
n-body  #4 6.77  50,000,000 35,672 1489 6.77 3% 99% 1% 1%
source secs N mem gz cpu cpu load
n-body  #3 1.39  500,000 36,180 1430 0.25 5% 8% 31% 28%
n-body  #3 0.85  5,000,000 35,548 1430 0.82 3% 95% 1% 2%
n-body  #3 7.44  50,000,000 36,100 1430 7.46 0% 0% 100% 1%
source secs N mem gz cpu cpu load
pidigits  #3 1.37  2,000 33,808 764 0.16 1% 11% 30% 9%
pidigits  #3 0.32  6,000 35,824 764 0.33 3% 91% 6% 3%
pidigits  #3 0.79  10,000 36,192 764 0.82 0% 4% 1% 99%
source secs N mem gz cpu cpu load
pidigits  #2 1.33  2,000 35,940 938 0.21 9% 2% 30% 6%
pidigits  #2 0.50  6,000 39,204 938 0.55 16% 90% 10% 4%
pidigits  #2 1.29  10,000 40,092 938 1.35 2% 98% 4% 2%
source secs N mem gz cpu cpu load
pidigits  1.61  2,000 214,596 800 1.22 24% 29% 15% 66%
pidigits  2.90  6,000 330,004 800 3.56 52% 14% 13% 44%
pidigits  7.65  10,000 409,316 800 8.44 27% 33% 8% 41%
source secs N mem gz cpu cpu load
regex-redux  1.85  50,000 53,900 868 1.18 22% 25% 11% 74%
regex-redux  1.20  500,000 212,928 868 2.53 50% 82% 33% 53%
regex-redux  8.49  5,000,000 902,976 868 16.60 35% 42% 47% 71%
source secs N mem gz cpu cpu load
regex-redux  #6 1.49  50,000 55,356 740 0.96 15% 23% 19% 74%
regex-redux  #6 1.01  500,000 164,552 740 2.55 54% 75% 60% 81%
regex-redux  #6 5.39  5,000,000 833,792 740 17.39 75% 89% 84% 76%
source secs N mem gz cpu cpu load
regex-redux  #3 1.51  50,000 55,200 929 1.01 17% 19% 21% 74%
regex-redux  #3 0.90  500,000 191,348 929 2.66 78% 73% 64% 85%
regex-redux  #3 5.34  5,000,000 862,848 929 17.07 74% 76% 97% 74%
source secs N mem gz cpu cpu load
reverse-complement  #4 1.36  250,000 37,684 651 0.27 3% 26% 13% 25%
reverse-complement  #4 5.00  100,000,000 1,904,156 651 5.10 1% 28% 34% 39%
source secs N mem gz cpu cpu load
reverse-complement  #6 1.42  250,000 37,260 752 0.21 15% 31% 13% 12%
reverse-complement  #6 2.99  100,000,000 2,047,136 752 3.64 43% 2% 77% 1%
source secs N mem gz cpu cpu load
reverse-complement  #7 1.87  250,000 39,312 1647 0.34 12% 16% 12% 33%
reverse-complement  #7 22.38  100,000,000 1,033,968 1647 6.01 6% 10% 10% 54%
source secs N mem gz cpu cpu load
reverse-complement  #5 1.27  250,000 34,000 1108 0.19 11% 23% 6% 6%
reverse-complement  #5 4.41  100,000,000 1,109,476 1108 4.53 1% 93% 4% 6%
source secs N mem gz cpu cpu load
reverse-complement  #8 1.45  250,000 35,924 2183 0.22 17% 10% 27% 16%
reverse-complement  #8 1.57  100,000,000 678,512 2183 3.52 48% 59% 44% 75%
source secs N mem gz cpu cpu load
reverse-complement  #3 1.46  250,000 49,900 1722 0.20 4% 26% 15% 14%
reverse-complement  #3 2.38  100,000,000 1,173,956 1722 4.99 84% 38% 49% 40%
source secs N mem gz cpu cpu load
spectral-norm  #3 1.30  500 36,536 756 0.31 28% 5% 9% 29%
spectral-norm  #3 0.55  3,000 38,904 756 1.93 89% 89% 87% 89%
spectral-norm  #3 1.55  5,500 39,644 756 5.94 98% 96% 97% 95%
source secs N mem gz cpu cpu load
spectral-norm  #2 1.45  500 36,964 950 0.35 8% 15% 20% 31%
spectral-norm  #2 0.89  3,000 37,972 950 3.22 90% 96% 90% 91%
spectral-norm  #2 2.31  5,500 38,348 950 8.87 95% 97% 97% 96%
source secs N mem gz cpu cpu load
spectral-norm  1.54  500 37,520 514 0.32 9% 32% 8% 25%
spectral-norm  2.46  3,000 38,304 514 2.49 41% 1% 58% 0%
spectral-norm  7.99  5,500 38,724 514 8.02 0% 100% 1% 0%