The Computer Language
Benchmarks Game

all Java programs & measurements

java 14.0.1 2020-04-14
Java(TM) SE Runtime Environment (build 14.0.1+7)
Java HotSpot(TM) 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing)

source secs N mem gz cpu cpu load
binary-trees  #6 1.36  7 22,952 529 0.20 10% 8% 20% 17%
binary-trees  #6 0.14  14 0 529 0.20 23% 31% 64% 27%
binary-trees  #6 4.90  21 1,730,116 529 5.67 39% 11% 37% 29%
source secs N mem gz cpu cpu load
binary-trees  #2 1.13  7 20,684 552 0.19 30% 18% 11% 7%
binary-trees  #2 0.13  14 0 552 0.20 54% 23% 31% 31%
binary-trees  #2 5.03  21 1,731,532 552 5.80 49% 29% 8% 30%
source secs N mem gz cpu cpu load
binary-trees  #3 1.19  7 23,328 540 0.19 52% 3% 12% 16%
binary-trees  #3 0.14  14 0 540 0.20 50% 29% 36% 31%
binary-trees  #3 4.84  21 2,207,808 540 5.67 36% 18% 56% 7%
source secs N mem gz cpu cpu load
binary-trees  #7 1.49  7 25,628 835 0.23 25% 15% 20% 10%
binary-trees  #7 0.11  14 0 835 0.22 55% 55% 25% 67%
binary-trees  #7 2.48  21 2,496,112 835 7.88 78% 91% 74% 75%
source secs N mem gz cpu cpu load
binary-trees  #4 1.50  7 26,044 840 0.22 46% 9% 15% 16%
binary-trees  #4 0.14  14 0 840 0.21 64% 27% 27% 33%
binary-trees  #4 4.93  21 1,877,524 840 5.71 15% 20% 62% 21%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 1.64  10 35,116 514 0.53 31% 4% 23% 13%
fannkuch-redux  #2 5.35  11 34,872 514 5.42 0% 2% 99% 3%
fannkuch-redux  #2 42.86  12 35,544 514 42.94 100% 1% 1% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 1.52  10 32,560 1257 0.45 16% 23% 27% 4%
fannkuch-redux  #3 2.98  11 34,976 1257 3.03 34% 1% 66% 4%
fannkuch-redux  #3 39.93  12 35,000 1257 40.01 97% 1% 4% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  1.41  10 33,000 1282 0.59 21% 21% 53% 23%
fannkuch-redux  0.91  11 34,932 1282 3.24 91% 92% 93% 96%
fannkuch-redux  10.61  12 34,960 1282 41.71 99% 99% 99% 98%
source secs N mem gz cpu cpu load
fasta  #5 1.40  250,000 32,220 2473 0.38 14% 7% 17% 20%
fasta  #5 0.24  2,500,000 728 2473 0.63 88% 57% 70% 57%
fasta  #5 1.27  25,000,000 45,584 2473 3.95 82% 83% 73% 70%
source secs N mem gz cpu cpu load
fasta  #2 1.28  250,000 23,552 1257 0.30 4% 33% 20% 11%
fasta  #2 0.57  2,500,000 38,892 1257 0.66 7% 2% 95% 14%
fasta  #2 4.30  25,000,000 39,540 1257 4.40 24% 77% 1% 1%
source secs N mem gz cpu cpu load
fasta  #4 1.28  250,000 21,736 1524 0.24 15% 44% 8% 7%
fasta  #4 0.42  2,500,000 37,856 1524 0.52 7% 5% 98% 17%
fasta  #4 3.25  25,000,000 38,392 1524 3.33 1% 2% 99% 1%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.72  250,000 39,368 1635 1.16 15% 53% 26% 23%
k-nucleotide  #3 1.07  2,500,000 104,852 1635 3.19 76% 69% 70% 85%
k-nucleotide  #3 7.41  25,000,000 487,424 1635 25.75 91% 82% 92% 84%
source secs N mem gz cpu cpu load
k-nucleotide  #4 1.81  250,000 163,576 1882 0.94 15% 40% 28% 11%
k-nucleotide  #4 3.53  2,500,000 180,728 1882 3.78 9% 14% 82% 5%
k-nucleotide  #4 35.83  25,000,000 200,244 1882 36.34 92% 1% 9% 1%
source secs N mem gz cpu cpu load
k-nucleotide  #5 1.74  250,000 170,124 2219 1.37 25% 39% 28% 28%
k-nucleotide  #5 2.05  2,500,000 181,540 2219 4.64 73% 53% 41% 60%
k-nucleotide  #5 15.81  25,000,000 229,272 2219 35.99 32% 85% 31% 82%
source secs N mem gz cpu cpu load
k-nucleotide  #6 1.65  250,000 48,540 1607 1.06 21% 23% 30% 19%
k-nucleotide  #6 1.14  2,500,000 104,472 1607 3.20 80% 71% 65% 73%
k-nucleotide  #6 7.41  25,000,000 487,408 1607 25.65 89% 91% 83% 84%
source secs N mem gz cpu cpu load
k-nucleotide  2.01  250,000 52,028 1812 0.96 34% 17% 29% 17%
k-nucleotide  0.91  2,500,000 104,364 1812 2.13 75% 55% 70% 54%
k-nucleotide  4.57  25,000,000 485,000 1812 14.46 77% 74% 83% 82%
source secs N mem gz cpu cpu load
mandelbrot  #6 1.27  1,000 21,740 802 0.29 30% 16% 10% 11%
mandelbrot  #6 0.37  4,000 728 802 1.21 84% 86% 81% 84%
mandelbrot  #6 4.28  16,000 70,704 802 16.83 98% 99% 98% 98%
source secs N mem gz cpu cpu load
mandelbrot  #3 1.36  1,000 23,384 903 0.34 14% 21% 19% 23%
mandelbrot  #3 0.55  4,000 38,132 903 2.00 91% 93% 89% 91%
mandelbrot  #3 7.49  16,000 72,220 903 29.61 99% 99% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  #4 1.33  1,000 22,668 660 0.30 34% 18% 14% 7%
mandelbrot  #4 0.43  4,000 37,924 660 1.16 47% 74% 84% 69%
mandelbrot  #4 5.27  16,000 68,012 660 16.13 82% 51% 98% 76%
source secs N mem gz cpu cpu load
mandelbrot  #2 1.31  1,000 21,892 796 0.30 37% 7% 18% 9%
mandelbrot  #2 0.35  4,000 732 796 1.18 82% 83% 88% 85%
mandelbrot  #2 4.14  16,000 71,012 796 16.28 99% 99% 98% 98%
source secs N mem gz cpu cpu load
mandelbrot  1.41  1,000 27,044 665 0.29 28% 11% 11% 9%
mandelbrot  1.82  4,000 36,196 665 1.86 2% 3% 98% 1%
mandelbrot  27.71  16,000 36,320 665 27.76 0% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #5 1.32  500,000 22,824 1429 0.24 14% 10% 20% 9%
n-body  #5 0.78  5,000,000 36,368 1429 0.81 6% 4% 93% 5%
n-body  #5 7.00  50,000,000 36,984 1429 7.03 1% 1% 100% 1%
source secs N mem gz cpu cpu load
n-body  #3 1.27  500,000 24,360 1430 0.24 12% 9% 19% 11%
n-body  #3 0.80  5,000,000 36,228 1430 0.84 96% 2% 6% 5%
n-body  #3 7.26  50,000,000 36,788 1430 7.30 100% 1% 2% 1%
source secs N mem gz cpu cpu load
n-body  #2 1.41  500,000 27,600 1424 0.25 28% 13% 6% 15%
n-body  #2 0.81  5,000,000 36,380 1424 0.84 5% 96% 3% 4%
n-body  #2 7.33  50,000,000 36,700 1424 7.36 100% 1% 3% 2%
source secs N mem gz cpu cpu load
n-body  #4 1.50  500,000 31,700 1489 0.24 12% 15% 23% 17%
n-body  #4 0.75  5,000,000 36,280 1489 0.77 8% 5% 9% 95%
n-body  #4 6.74  50,000,000 36,480 1489 6.78 100% 1% 0% 0%
source secs N mem gz cpu cpu load
n-body  1.39  500,000 32,964 1430 0.29 17% 7% 28% 12%
n-body  0.85  5,000,000 38,204 1430 0.90 4% 94% 5% 2%
n-body  7.70  50,000,000 38,408 1430 7.75 1% 0% 100% 1%
source secs N mem gz cpu cpu load
pidigits  #2 1.40  2,000 30,308 938 0.21 3% 26% 11% 37%
pidigits  #2 0.52  6,000 36,124 938 0.61 10% 8% 92% 14%
pidigits  #2 1.35  10,000 39,744 938 1.44 2% 97% 5% 1%
source secs N mem gz cpu cpu load
pidigits  #3 1.25  2,000 23,772 764 0.17 14% 1% 11% 63%
pidigits  #3 0.37  6,000 664 764 0.41 3% 14% 89% 11%
pidigits  #3 0.94  10,000 36,644 764 0.99 98% 5% 2% 9%
source secs N mem gz cpu cpu load
pidigits  1.60  2,000 168,164 800 1.13 20% 26% 28% 42%
pidigits  2.99  6,000 409,476 800 3.73 73% 27% 9% 16%
pidigits  7.79  10,000 459,168 800 8.60 16% 21% 39% 35%
source secs N mem gz cpu cpu load
regex-redux  #6 1.52  50,000 33,320 740 0.94 23% 18% 27% 50%
regex-redux  #6 0.91  500,000 129,880 740 2.55 80% 69% 64% 74%
regex-redux  #6 5.81  5,000,000 630,220 740 18.46 84% 71% 81% 82%
source secs N mem gz cpu cpu load
regex-redux  #3 1.67  50,000 41,112 929 1.14 28% 26% 29% 16%
regex-redux  #3 0.96  500,000 124,968 929 2.72 65% 62% 67% 93%
regex-redux  #3 5.75  5,000,000 647,984 929 18.63 82% 88% 77% 77%
source secs N mem gz cpu cpu load
regex-redux  1.74  50,000 43,680 868 0.86 26% 22% 21% 32%
regex-redux  1.22  500,000 140,048 868 2.42 47% 44% 54% 54%
regex-redux  9.39  5,000,000 634,280 868 17.77 23% 45% 72% 49%
source secs N mem gz cpu cpu load
reverse-complement  #3 1.58  250,000 31,528 1722 0.25 22% 16% 22% 4%
reverse-complement  #3 2.30  100,000,000 1,173,596 1722 5.12 41% 86% 37% 56%
source secs N mem gz cpu cpu load
reverse-complement  #6 1.39  250,000 30,032 752 0.20 16% 16% 9% 63%
reverse-complement  #6 3.10  100,000,000 2,060,100 752 3.77 14% 66% 41% 1%
source secs N mem gz cpu cpu load
reverse-complement  #4 1.21  250,000 23,672 651 0.24 17% 3% 33% 17%
reverse-complement  #4 4.78  100,000,000 1,930,420 651 4.94 2% 10% 56% 35%
source secs N mem gz cpu cpu load
reverse-complement  #7 1.51  250,000 32,888 1647 0.34 4% 14% 62% 14%
reverse-complement  #7 21.81  100,000,000 1,034,140 1647 5.67 6% 2% 55% 28%
source secs N mem gz cpu cpu load
reverse-complement  #8 1.45  250,000 26,360 2183 0.25 19% 13% 17% 22%
reverse-complement  #8 1.58  100,000,000 677,584 2183 3.71 55% 74% 48% 61%
source secs N mem gz cpu cpu load
reverse-complement  #5 1.24  250,000 22,620 1108 0.20 2% 17% 21% 12%
reverse-complement  #5 4.38  100,000,000 1,125,552 1108 4.54 10% 60% 3% 31%
source secs N mem gz cpu cpu load
spectral-norm  #3 1.42  500 26,920 756 0.34 30% 11% 15% 21%
spectral-norm  #3 0.58  3,000 38,240 756 1.99 90% 86% 88% 86%
spectral-norm  #3 1.57  5,500 39,376 756 5.92 96% 94% 95% 95%
source secs N mem gz cpu cpu load
spectral-norm  1.39  500 32,372 514 0.29 24% 23% 18% 6%
spectral-norm  2.33  3,000 38,292 514 2.39 5% 2% 1% 99%
spectral-norm  7.57  5,500 38,848 514 7.64 100% 0% 0% 1%
source secs N mem gz cpu cpu load
spectral-norm  #2 1.48  500 26,996 950 0.35 78% 18% 13% 23%
spectral-norm  #2 0.62  3,000 38,096 950 2.13 91% 87% 88% 84%
spectral-norm  #2 1.68  5,500 38,324 950 6.37 95% 96% 96% 94%