The Computer Language
22.05 Benchmarks Game

all Java programs & measurements

openjdk 18 2022-03-22
OpenJDK Runtime Environment
(build 18+36-2087)
OpenJDK 64-Bit Server VM
(build 18+36-2087,
mixed mode, sharing)

source secs N mem gz cpu cpu load
binary-trees  #7 1.54  7 32,648 835 0.19 70% 16% 7% 13%
binary-trees  #7 0.11  14 35,360 835 0.20 75% 50% 27% 42%
binary-trees  #7 2.48  21 2,460,388 835 7.73 77% 73% 93% 71%
source secs N mem gz cpu cpu load
binary-trees  #3 1.44  7 30,632 540 0.18 44% 24% 8% 9%
binary-trees  #3 0.14  14 52,124 540 0.16 79% 27% 20% 13%
binary-trees  #3 4.48  21 2,106,820 540 5.19 7% 52% 11% 48%
source secs N mem gz cpu cpu load
binary-trees  #2 1.34  7 30,788 552 0.17 74% 8% 5% 9%
binary-trees  #2 0.13  14 48,484 552 0.15 46% 14% 47% 25%
binary-trees  #2 4.77  21 1,877,464 552 5.45 93% 9% 7% 6%
source secs N mem gz cpu cpu load
binary-trees  #4 1.57  7 33,012 840 0.17 37% 3% 32% 8%
binary-trees  #4 0.13  14 51,612 840 0.17 33% 43% 17% 54%
binary-trees  #4 4.74  21 2,079,388 840 5.44 33% 5% 71% 8%
source secs N mem gz cpu cpu load
binary-trees  #6 1.39  7 31,508 529 0.19 7% 28% 9% 1%
binary-trees  #6 0.15  14 47,600 529 0.16 40% 19% 40% 50%
binary-trees  #6 4.70  21 2,093,916 529 5.35 8% 46% 55% 6%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 1.77  10 34,348 514 0.54 77% 3% 10% 10%
fannkuch-redux  #2 3.45  11 34,212 514 3.48 2% 2% 99% 1%
fannkuch-redux  #2 44.94  12 34,244 514 44.98 0% 0% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  1.58  10 35,088 1282 0.52 74% 10% 14% 13%
fannkuch-redux  0.89  11 35,304 1282 3.30 92% 94% 92% 94%
fannkuch-redux  10.59  12 35,824 1282 41.74 99% 97% 98% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 1.68  10 35,408 1257 0.44 16% 26% 1% 28%
fannkuch-redux  #3 3.07  11 35,176 1257 3.12 2% 4% 1% 97%
fannkuch-redux  #3 41.10  12 35,324 1257 41.17 0% 0% 100% 0%
source secs N mem gz cpu cpu load
fasta  #4 1.51  250,000 35,716 1524 0.27 1% 10% 10% 36%
fasta  #4 0.44  2,500,000 36,460 1524 0.50 7% 93% 11% 0%
fasta  #4 3.36  25,000,000 36,800 1524 3.41 1% 1% 99% 1%
source secs N mem gz cpu cpu load
fasta  #6 1.55  250,000 36,368 2543 0.38 13% 16% 32% 12%
fasta  #6 0.25  2,500,000 39,216 2543 0.56 54% 48% 50% 79%
fasta  #6 1.19  25,000,000 42,416 2543 3.52 73% 81% 64% 76%
source secs N mem gz cpu cpu load
fasta  #2 1.55  250,000 35,544 1257 0.30 78% 1% 5% 16%
fasta  #2 0.60  2,500,000 36,472 1257 0.64 95% 23% 2% 5%
fasta  #2 4.40  25,000,000 36,812 1257 4.46 3% 1% 1% 99%
source secs N mem gz cpu cpu load
fasta  #5 1.49  250,000 36,316 2473 0.37 70% 17% 11% 17%
fasta  #5 0.24  2,500,000 40,144 2473 0.58 65% 68% 60% 48%
fasta  #5 1.27  25,000,000 42,532 2473 4.14 77% 76% 94% 79%
source secs N mem gz cpu cpu load
k-nucleotide  #6 1.83  250,000 74,700 1607 1.01 73% 19% 15% 18%
k-nucleotide  #6 1.06  2,500,000 145,612 1607 3.13 68% 72% 67% 93%
k-nucleotide  #6 7.31  25,000,000 343,684 1607 25.67 84% 90% 85% 93%
source secs N mem gz cpu cpu load
k-nucleotide  #5 2.03  250,000 196,312 2219 1.46 41% 40% 26% 14%
k-nucleotide  #5 2.06  2,500,000 206,164 2219 4.46 31% 80% 82% 31%
k-nucleotide  #5 18.54  25,000,000 210,368 2219 43.27 26% 26% 90% 92%
source secs N mem gz cpu cpu load
k-nucleotide  2.07  250,000 62,460 1812 0.99 28% 13% 22% 27%
k-nucleotide  0.89  2,500,000 129,500 1812 2.31 57% 63% 58% 86%
k-nucleotide  4.92  25,000,000 349,544 1812 16.17 85% 84% 82% 79%
source secs N mem gz cpu cpu load
k-nucleotide  #4 2.04  250,000 187,460 1882 1.03 37% 12% 18% 25%
k-nucleotide  #4 4.00  2,500,000 197,776 1882 4.23 11% 91% 2% 5%
k-nucleotide  #4 37.07  25,000,000 199,824 1882 37.48 33% 1% 9% 60%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.94  250,000 75,420 1635 1.12 22% 18% 15% 42%
k-nucleotide  #3 1.06  2,500,000 145,508 1635 3.10 73% 68% 87% 68%
k-nucleotide  #3 7.39  25,000,000 344,652 1635 25.73 84% 86% 94% 85%
source secs N mem gz cpu cpu load
mandelbrot  #4 1.57  1,000 34,428 660 0.33 12% 5% 16% 42%
mandelbrot  #4 0.38  4,000 36,696 660 1.15 76% 90% 66% 74%
mandelbrot  #4 4.43  16,000 66,304 660 16.16 87% 84% 95% 99%
source secs N mem gz cpu cpu load
mandelbrot  #6 1.47  1,000 31,564 802 0.38 10% 10% 10% 36%
mandelbrot  #6 0.37  4,000 35,184 802 1.20 86% 86% 78% 80%
mandelbrot  #6 4.31  16,000 67,432 802 16.92 98% 98% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  #3 1.53  1,000 34,752 903 0.37 50% 15% 16% 9%
mandelbrot  #3 0.65  4,000 37,028 903 2.30 88% 95% 89% 86%
mandelbrot  #3 7.37  16,000 69,200 903 29.18 99% 99% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  1.66  1,000 33,496 665 0.30 20% 6% 1% 38%
mandelbrot  1.82  4,000 34,268 665 1.82 2% 1% 98% 2%
mandelbrot  27.73  16,000 34,252 665 27.75 100% 0% 0% 0%
source secs N mem gz cpu cpu load
mandelbrot  #2 1.42  1,000 31,184 796 0.25 14% 13% 4% 35%
mandelbrot  #2 0.34  4,000 35,472 796 1.17 85% 91% 85% 94%
mandelbrot  #2 4.12  16,000 68,860 796 16.21 98% 99% 99% 98%
source secs N mem gz cpu cpu load
n-body  #2 1.62  500,000 34,764 1424 0.26 12% 32% 9% 4%
n-body  #2 0.83  5,000,000 34,408 1424 0.83 96% 0% 2% 1%
n-body  #2 7.49  50,000,000 34,704 1424 7.50 100% 0% 3% 1%
source secs N mem gz cpu cpu load
n-body  #5 1.52  500,000 35,076 1429 0.26 5% 13% 3% 28%
n-body  #5 0.78  5,000,000 33,820 1429 0.76 4% 3% 95% 6%
n-body  #5 6.78  50,000,000 34,252 1429 6.79 100% 0% 0% 0%
source secs N mem gz cpu cpu load
n-body  1.76  500,000 36,948 1430 0.32 7% 5% 36% 16%
n-body  0.88  5,000,000 37,312 1430 0.88 2% 95% 1% 6%
n-body  7.80  50,000,000 37,380 1430 7.83 1% 100% 0% 1%
source secs N mem gz cpu cpu load
n-body  #4 1.51  500,000 34,700 1489 0.25 76% 4% 11% 7%
n-body  #4 0.74  5,000,000 34,104 1489 0.74 4% 96% 0% 3%
n-body  #4 6.77  50,000,000 34,076 1489 6.79 1% 2% 100% 1%
source secs N mem gz cpu cpu load
n-body  #3 1.55  500,000 34,848 1430 0.27 8% 28% 20% 5%
n-body  #3 0.83  5,000,000 34,412 1430 0.82 96% 1% 2% 2%
n-body  #3 7.47  50,000,000 34,612 1430 7.50 0% 100% 0% 1%
source secs N mem gz cpu cpu load
pidigits  #3 1.46  2,000 32,988 764 0.16 70% 3% 6% 10%
pidigits  #3 0.32  6,000 34,756 764 0.33 9% 9% 85% 6%
pidigits  #3 0.79  10,000 35,700 764 0.82 99% 0% 3% 3%
source secs N mem gz cpu cpu load
pidigits  #2 1.68  2,000 34,564 938 0.22 2% 13% 29% 7%
pidigits  #2 0.52  6,000 37,728 938 0.56 4% 8% 92% 12%
pidigits  #2 1.28  10,000 38,328 938 1.35 4% 4% 80% 32%
source secs N mem gz cpu cpu load
pidigits  1.87  2,000 224,980 800 1.22 67% 35% 6% 21%
pidigits  2.98  6,000 345,428 800 3.93 62% 14% 25% 35%
pidigits  7.88  10,000 513,728 800 8.94 38% 12% 32% 31%
source secs N mem gz cpu cpu load
regex-redux  1.75  50,000 52,544 868 1.08 21% 12% 35% 31%
regex-redux  1.26  500,000 210,976 868 2.53 58% 78% 45% 34%
regex-redux  8.76  5,000,000 924,116 868 17.12 35% 85% 36% 40%
source secs N mem gz cpu cpu load
regex-redux  #6 1.76  50,000 53,132 740 0.95 26% 13% 18% 41%
regex-redux  #6 0.88  500,000 165,932 740 2.45 77% 76% 62% 69%
regex-redux  #6 5.51  5,000,000 728,332 740 17.16 74% 83% 75% 79%
source secs N mem gz cpu cpu load
regex-redux  #3 1.70  50,000 53,888 929 1.00 43% 20% 29% 18%
regex-redux  #3 0.85  500,000 203,928 929 2.49 64% 87% 70% 72%
regex-redux  #3 5.47  5,000,000 741,028 929 17.34 74% 76% 92% 76%
source secs N mem gz cpu cpu load
reverse-complement  #4 1.55  250,000 33,852 651 0.22 52% 21% 8% 10%
reverse-complement  #4 5.36  100,000,000 1,881,900 651 5.41 4% 1% 96% 1%
source secs N mem gz cpu cpu load
reverse-complement  #6 1.46  250,000 33,888 752 0.19 34% 3% 26% 3%
reverse-complement  #6 3.54  100,000,000 2,024,016 752 4.15 1% 0% 83% 34%
source secs N mem gz cpu cpu load
reverse-complement  #7 1.62  250,000 37,652 1647 0.33 44% 4% 28% 9%
reverse-complement  #7 23.16  100,000,000 1,030,892 1647 6.37 33% 16% 4% 38%
source secs N mem gz cpu cpu load
reverse-complement  #5 1.42  250,000 33,876 1108 0.22 27% 1% 36% 8%
reverse-complement  #5 4.84  100,000,000 1,088,392 1108 4.92 2% 93% 5% 4%
source secs N mem gz cpu cpu load
reverse-complement  #8 1.48  250,000 34,664 2183 0.24 10% 24% 12% 5%
reverse-complement  #8 1.53  100,000,000 665,804 2183 3.49 65% 62% 49% 53%
source secs N mem gz cpu cpu load
reverse-complement  #3 1.58  250,000 48,220 1722 0.21 12% 35% 15% 9%
reverse-complement  #3 2.48  100,000,000 1,170,232 1722 5.09 48% 35% 36% 85%
source secs N mem gz cpu cpu load
simple  1.63  1,000 34,332 439 0.36 7% 11% 33% 4%
simple  2.66  4,000 35,228 439 2.71 98% 1% 1% 2%
simple  40.89  16,000 35,696 439 40.93 0% 0% 0% 100%
source secs N mem gz cpu cpu load
spectral-norm  #3 1.66  500 35,960 756 0.32 66% 10% 13% 8%
spectral-norm  #3 0.56  3,000 38,088 756 1.91 84% 85% 91% 82%
spectral-norm  #3 1.55  5,500 38,428 756 5.94 97% 95% 96% 95%
source secs N mem gz cpu cpu load
spectral-norm  #2 1.66  500 36,768 950 0.35 28% 6% 5% 42%
spectral-norm  #2 0.91  3,000 36,768 950 3.23 88% 87% 95% 87%
spectral-norm  #2 2.61  5,500 37,368 950 10.07 98% 96% 97% 96%
source secs N mem gz cpu cpu load
spectral-norm  1.68  500 36,436 514 0.31 9% 1% 10% 27%
spectral-norm  2.96  3,000 36,572 514 2.99 3% 99% 1% 1%
spectral-norm  9.73  5,500 37,288 514 9.76 1% 0% 100% 0%