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.35  7 33,192 552 0.18 33% 7% 21% 24%
binary-trees  #2 0.14  14 49,576 552 0.18 33% 50% 53% 33%
binary-trees  #2 4.74  21 1,692,372 552 5.47 23% 8% 78% 8%
source secs N mem gz cpu cpu load
binary-trees  #7 1.31  7 34,492 835 0.22 53% 7% 22% 15%
binary-trees  #7 0.12  14 35,256 835 0.22 50% 38% 42% 64%
binary-trees  #7 2.49  21 2,490,296 835 7.86 92% 75% 78% 72%
source secs N mem gz cpu cpu load
binary-trees  #6 1.25  7 33,004 529 0.19 31% 16% 7% 26%
binary-trees  #6 0.12  14 34,524 529 0.19 50% 50% 33% 42%
binary-trees  #6 4.60  21 1,706,268 529 5.40 23% 78% 7% 10%
source secs N mem gz cpu cpu load
binary-trees  #3 1.32  7 33,368 540 0.19 25% 16% 1% 34%
binary-trees  #3 0.14  14 48,444 540 0.18 21% 18% 20% 79%
binary-trees  #3 4.57  21 1,899,060 540 5.35 38% 14% 25% 44%
source secs N mem gz cpu cpu load
binary-trees  #4 1.34  7 34,220 840 0.20 44% 14% 11% 22%
binary-trees  #4 0.14  14 51,144 840 0.21 40% 46% 36% 60%
binary-trees  #4 4.13  21 2,050,308 840 4.92 38% 8% 61% 13%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 1.80  10 34,488 1257 0.47 21% 11% 44% 17%
fannkuch-redux  #3 3.09  11 33,664 1257 3.14 2% 2% 97% 3%
fannkuch-redux  #3 41.24  12 33,900 1257 41.33 1% 100% 2% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  1.39  10 33,360 1282 0.60 75% 7% 20% 20%
fannkuch-redux  0.96  11 33,988 1282 3.52 95% 92% 92% 93%
fannkuch-redux  9.94  12 34,188 1282 39.13 99% 98% 99% 97%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 1.63  10 33,884 514 0.54 23% 17% 8% 33%
fannkuch-redux  #2 3.63  11 34,588 514 3.70 99% 2% 1% 2%
fannkuch-redux  #2 46.31  12 34,440 514 46.37 98% 0% 2% 0%
source secs N mem gz cpu cpu load
fasta  #4 1.29  250,000 36,728 1524 0.24 28% 17% 6% 28%
fasta  #4 0.44  2,500,000 37,456 1524 0.53 24% 11% 95% 7%
fasta  #4 3.19  25,000,000 37,684 1524 3.27 1% 99% 1% 2%
source secs N mem gz cpu cpu load
fasta  #5 1.63  250,000 37,120 2473 0.36 27% 9% 10% 55%
fasta  #5 0.25  2,500,000 40,384 2473 0.67 60% 65% 70% 78%
fasta  #5 1.28  25,000,000 44,172 2473 4.19 83% 78% 88% 76%
source secs N mem gz cpu cpu load
fasta  #2 1.39  250,000 36,696 1257 0.29 1% 14% 24% 32%
fasta  #2 0.58  2,500,000 37,396 1257 0.66 97% 12% 7% 9%
fasta  #2 4.40  25,000,000 38,128 1257 4.50 1% 99% 0% 2%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.54  250,000 81,604 1635 1.05 26% 23% 27% 41%
k-nucleotide  #3 1.10  2,500,000 133,592 1635 3.23 71% 69% 71% 94%
k-nucleotide  #3 7.40  25,000,000 418,800 1635 25.93 87% 93% 85% 86%
source secs N mem gz cpu cpu load
k-nucleotide  1.83  250,000 62,052 1812 0.95 18% 15% 28% 42%
k-nucleotide  1.07  2,500,000 131,064 1812 2.31 58% 71% 45% 63%
k-nucleotide  4.88  25,000,000 409,508 1812 15.85 75% 88% 86% 77%
source secs N mem gz cpu cpu load
k-nucleotide  #6 1.66  250,000 82,072 1607 1.12 23% 23% 25% 46%
k-nucleotide  #6 1.09  2,500,000 132,652 1607 3.25 71% 76% 69% 89%
k-nucleotide  #6 7.42  25,000,000 418,968 1607 26.05 91% 92% 85% 84%
source secs N mem gz cpu cpu load
k-nucleotide  #4 1.84  250,000 174,404 1882 1.01 4% 13% 39% 31%
k-nucleotide  #4 3.81  2,500,000 193,996 1882 4.10 5% 10% 10% 84%
k-nucleotide  #4 36.06  25,000,000 198,300 1882 36.53 1% 1% 40% 61%
source secs N mem gz cpu cpu load
k-nucleotide  #5 1.95  250,000 179,708 2219 1.62 30% 38% 27% 21%
k-nucleotide  #5 2.06  2,500,000 186,840 2219 4.68 85% 51% 38% 56%
k-nucleotide  #5 18.30  25,000,000 205,144 2219 41.77 82% 32% 16% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 1.30  1,000 33,148 802 0.29 20% 8% 23% 23%
mandelbrot  #6 0.35  4,000 35,524 802 1.19 88% 83% 80% 91%
mandelbrot  #6 4.24  16,000 67,696 802 16.72 99% 99% 98% 98%
source secs N mem gz cpu cpu load
mandelbrot  1.38  1,000 34,304 665 0.28 18% 14% 4% 31%
mandelbrot  1.82  4,000 34,272 665 1.85 99% 1% 1% 3%
mandelbrot  27.71  16,000 34,588 665 27.77 0% 100% 0% 0%
source secs N mem gz cpu cpu load
mandelbrot  #3 1.33  1,000 33,680 903 0.33 23% 20% 10% 15%
mandelbrot  #3 0.54  4,000 36,676 903 1.97 92% 93% 93% 94%
mandelbrot  #3 7.49  16,000 68,900 903 29.66 99% 99% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  #4 1.50  1,000 34,084 660 0.30 14% 17% 17% 37%
mandelbrot  #4 0.44  4,000 37,664 660 1.17 53% 81% 73% 67%
mandelbrot  #4 5.12  16,000 66,588 660 15.76 50% 97% 78% 83%
source secs N mem gz cpu cpu load
mandelbrot  #2 1.38  1,000 34,732 796 0.29 20% 11% 19% 46%
mandelbrot  #2 0.35  4,000 35,560 796 1.18 86% 89% 85% 82%
mandelbrot  #2 4.15  16,000 70,040 796 16.30 98% 98% 99% 98%
source secs N mem gz cpu cpu load
n-body  #4 1.43  500,000 33,868 1489 0.24 17% 15% 13% 39%
n-body  #4 0.74  5,000,000 35,028 1489 0.77 3% 96% 4% 3%
n-body  #4 6.76  50,000,000 35,156 1489 6.79 1% 0% 100% 1%
source secs N mem gz cpu cpu load
n-body  #5 1.32  500,000 34,576 1429 0.23 8% 15% 8% 50%
n-body  #5 0.77  5,000,000 35,140 1429 0.80 96% 5% 1% 9%
n-body  #5 6.99  50,000,000 35,712 1429 7.02 1% 100% 1% 3%
source secs N mem gz cpu cpu load
n-body  #2 1.30  500,000 34,416 1424 0.24 13% 2% 31% 47%
n-body  #2 0.82  5,000,000 35,224 1424 0.85 5% 4% 1% 96%
n-body  #2 7.43  50,000,000 35,496 1424 7.46 1% 100% 1% 2%
source secs N mem gz cpu cpu load
n-body  #3 1.34  500,000 34,224 1430 0.24 11% 25% 15% 16%
n-body  #3 0.82  5,000,000 35,316 1430 0.84 94% 2% 5% 5%
n-body  #3 7.44  50,000,000 35,396 1430 7.48 100% 0% 1% 1%
source secs N mem gz cpu cpu load
n-body  1.58  500,000 37,276 1430 0.29 11% 8% 15% 54%
n-body  0.86  5,000,000 37,516 1430 0.90 0% 6% 4% 98%
n-body  7.79  50,000,000 37,672 1430 7.84 100% 0% 0% 1%
source secs N mem gz cpu cpu load
pidigits  #2 1.34  2,000 33,208 938 0.20 9% 13% 19% 31%
pidigits  #2 0.51  6,000 37,944 938 0.59 12% 12% 94% 4%
pidigits  #2 1.35  10,000 38,700 938 1.43 4% 98% 1% 9%
source secs N mem gz cpu cpu load
pidigits  2.46  2,000 210,456 800 1.07 28% 25% 17% 59%
pidigits  2.85  6,000 411,876 800 3.65 4% 24% 83% 17%
pidigits  7.53  10,000 410,888 800 8.38 21% 25% 33% 34%
source secs N mem gz cpu cpu load
pidigits  #3 1.30  2,000 32,124 764 0.16 22% 10% 16% 22%
pidigits  #3 0.36  6,000 35,196 764 0.40 5% 94% 14% 8%
pidigits  #3 0.94  10,000 35,604 764 0.98 1% 4% 3% 97%
source secs N mem gz cpu cpu load
regex-redux  #3 1.70  50,000 55,092 929 0.98 26% 46% 18% 25%
regex-redux  #3 0.85  500,000 146,176 929 2.64 76% 72% 84% 79%
regex-redux  #3 5.58  5,000,000 656,192 929 17.82 83% 83% 80% 74%
source secs N mem gz cpu cpu load
regex-redux  1.64  50,000 53,180 868 0.88 21% 27% 29% 14%
regex-redux  1.23  500,000 151,924 868 2.39 44% 83% 37% 36%
regex-redux  9.10  5,000,000 635,488 868 17.67 62% 46% 46% 42%
source secs N mem gz cpu cpu load
regex-redux  #6 1.51  50,000 50,952 740 0.92 42% 20% 18% 38%
regex-redux  #6 0.92  500,000 160,456 740 2.71 78% 67% 84% 75%
regex-redux  #6 5.58  5,000,000 633,872 740 17.99 76% 92% 76% 79%
source secs N mem gz cpu cpu load
reverse-complement  #7 1.44  250,000 38,084 1647 0.32 17% 31% 14% 14%
reverse-complement  #7 22.25  100,000,000 1,032,288 1647 5.98 10% 7% 49% 5%
source secs N mem gz cpu cpu load
reverse-complement  #8 1.33  250,000 35,516 2183 0.26 7% 17% 33% 34%
reverse-complement  #8 1.53  100,000,000 720,672 2183 3.55 52% 63% 59% 59%
source secs N mem gz cpu cpu load
reverse-complement  #6 1.36  250,000 35,084 752 0.21 23% 4% 19% 29%
reverse-complement  #6 2.93  100,000,000 2,054,224 752 3.64 35% 79% 2% 11%
source secs N mem gz cpu cpu load
reverse-complement  #5 1.24  250,000 33,340 1108 0.20 12% 16% 10% 21%
reverse-complement  #5 4.44  100,000,000 1,122,168 1108 4.60 5% 36% 59% 4%
source secs N mem gz cpu cpu load
reverse-complement  #3 1.33  250,000 49,080 1722 0.23 16% 15% 10% 32%
reverse-complement  #3 2.41  100,000,000 1,172,252 1722 5.05 49% 37% 84% 39%
source secs N mem gz cpu cpu load
reverse-complement  #4 1.28  250,000 31,944 651 0.25 13% 11% 10% 31%
reverse-complement  #4 4.82  100,000,000 1,926,364 651 4.98 92% 2% 7% 2%
source secs N mem gz cpu cpu load
spectral-norm  #3 1.57  500 36,292 756 0.33 20% 18% 10% 38%
spectral-norm  #3 0.60  3,000 38,400 756 2.09 93% 88% 86% 88%
spectral-norm  #3 1.69  5,500 39,048 756 6.46 95% 97% 97% 96%
source secs N mem gz cpu cpu load
spectral-norm  1.55  500 36,280 514 0.27 18% 12% 18% 29%
spectral-norm  1.91  3,000 37,728 514 1.97 2% 97% 3% 3%
spectral-norm  6.17  5,500 38,200 514 6.23 100% 4% 0% 1%
source secs N mem gz cpu cpu load
spectral-norm  #2 1.44  500 36,212 950 0.37 9% 17% 23% 46%
spectral-norm  #2 0.61  3,000 37,744 950 2.13 90% 85% 90% 83%
spectral-norm  #2 1.66  5,500 38,280 950 6.35 97% 95% 96% 96%