The Computer Language
Benchmarks Game

all Java programs & measurements

java 10 2018-03-20
Java(TM) SE Runtime Environment 18.3 (build 10+46)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)

source secs N mem gz cpu cpu load
binary-trees  #6 0.24  7 2,208 529 0.39 21% 32% 87% 44%
binary-trees  #6 0.33  14 1,020 529 0.53 59% 33% 35% 42%
binary-trees  #6 12.66  21 871,440 529 16.13 12% 83% 23% 12%
source secs N mem gz cpu cpu load
binary-trees  #4 0.25  7 2,224 840 0.42 44% 36% 50% 44%
binary-trees  #4 0.34  14 2,236 840 0.56 69% 30% 40% 37%
binary-trees  #4 12.37  21 786,092 840 16.91 45% 39% 25% 30%
source secs N mem gz cpu cpu load
binary-trees  #2 0.24  7 1,836 552 0.39 28% 75% 27% 38%
binary-trees  #2 0.33  14 1,020 552 0.54 36% 31% 71% 47%
binary-trees  #2 12.92  21 842,424 552 16.43 23% 66% 22% 18%
source secs N mem gz cpu cpu load
binary-trees  #3 0.25  7 2,272 540 0.38 25% 54% 56% 31%
binary-trees  #3 0.33  14 1,020 540 0.52 38% 21% 79% 25%
binary-trees  #3 12.50  21 826,544 540 16.04 38% 8% 15% 68%
source secs N mem gz cpu cpu load
binary-trees  #7 0.35  7 1,024 835 0.49 45% 15% 46% 53%
binary-trees  #7 0.35  14 2,208 835 0.70 66% 41% 39% 71%
binary-trees  #7 8.39  21 933,808 835 28.28 82% 86% 84% 88%
source secs N mem gz cpu cpu load
chameneos-redux  #4 0.46  60,000 34,532 1615 1.30 67% 82% 80% 59%
chameneos-redux  #4 0.90  600,000 33,800 1615 2.94 85% 93% 67% 84%
chameneos-redux  #4 5.03  6,000,000 36,052 1615 17.28 97% 98% 53% 98%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.41  60,000 976 1429 0.96 83% 42% 46% 63%
chameneos-redux  #2 1.13  600,000 57,332 1429 3.16 85% 82% 54% 61%
chameneos-redux  #2 7.83  6,000,000 75,412 1429 24.07 96% 61% 86% 65%
source secs N mem gz cpu cpu load
chameneos-redux  #3 0.74  60,000 42,356 1267 2.24 78% 81% 78% 68%
chameneos-redux  #3 1.51  600,000 67,192 1267 4.95 68% 87% 85% 89%
chameneos-redux  #3 8.03  6,000,000 79,848 1267 27.16 96% 87% 82% 74%
source secs N mem gz cpu cpu load
chameneos-redux  0.42  60,000 35,600 1770 0.94 50% 44% 66% 71%
chameneos-redux  0.84  600,000 48,036 1770 1.62 44% 59% 29% 61%
chameneos-redux  7.98  6,000,000 58,808 1770 12.30 40% 32% 38% 42%
source secs N mem gz cpu cpu load
fannkuch-redux  0.42  10 1,008 1282 1.08 74% 51% 56% 85%
fannkuch-redux  1.68  11 31,444 1282 6.08 88% 90% 95% 91%
fannkuch-redux  18.27  12 31,820 1282 72.06 99% 99% 98% 98%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.65  10 31,596 1257 0.80 25% 9% 11% 82%
fannkuch-redux  #3 5.35  11 31,448 1257 5.54 3% 3% 2% 96%
fannkuch-redux  #3 70.63  12 31,804 1257 70.82 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.66  10 31,716 514 0.80 6% 19% 93% 6%
fannkuch-redux  #2 6.50  11 31,992 514 6.65 2% 100% 1% 1%
fannkuch-redux  #2 76.53  12 32,176 514 76.67 25% 0% 0% 75%
source secs N mem gz cpu cpu load
fasta  #2 0.34  250,000 2,096 1257 0.56 82% 29% 35% 22%
fasta  #2 1.17  2,500,000 36,876 1257 1.44 95% 7% 6% 20%
fasta  #2 7.82  25,000,000 36,844 1257 8.06 11% 91% 2% 1%
source secs N mem gz cpu cpu load
fasta  #4 0.29  250,000 1,024 1524 0.45 7% 24% 34% 93%
fasta  #4 0.77  2,500,000 35,652 1524 1.02 21% 7% 21% 89%
fasta  #4 5.11  25,000,000 36,388 1524 5.35 2% 3% 3% 98%
source secs N mem gz cpu cpu load
fasta  #5 0.29  250,000 2,056 2473 0.63 48% 80% 54% 46%
fasta  #5 0.50  2,500,000 36,556 2473 1.20 68% 58% 76% 46%
fasta  #5 2.27  25,000,000 43,628 2473 5.93 51% 75% 57% 81%
source secs N mem gz cpu cpu load
k-nucleotide  0.70  250,000 49,068 1812 1.63 51% 54% 77% 61%
k-nucleotide  1.39  2,500,000 98,384 1812 3.95 66% 85% 71% 65%
k-nucleotide  8.75  25,000,000 385,056 1812 27.09 85% 72% 70% 85%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.84  250,000 64,668 1635 2.31 76% 71% 61% 74%
k-nucleotide  #3 2.15  2,500,000 110,600 1635 6.46 70% 77% 87% 73%
k-nucleotide  #3 12.36  25,000,000 381,676 1635 41.54 78% 89% 90% 80%
source secs N mem gz cpu cpu load
k-nucleotide  #5 1.15  250,000 196,684 2219 2.85 66% 51% 74% 57%
k-nucleotide  #5 4.91  2,500,000 247,488 2219 12.37 79% 42% 91% 42%
k-nucleotide  #5 35.51  25,000,000 228,788 2219 79.18 54% 94% 14% 62%
source secs N mem gz cpu cpu load
k-nucleotide  #4 1.26  250,000 202,148 1882 2.24 30% 53% 61% 36%
k-nucleotide  #4 6.94  2,500,000 209,576 1882 8.06 10% 27% 66% 14%
k-nucleotide  #4 60.93  25,000,000 197,284 1882 62.04 39% 61% 1% 1%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.75  250,000 46,456 1607 2.25 76% 74% 80% 71%
k-nucleotide  #6 2.05  2,500,000 112,124 1607 6.60 84% 76% 75% 88%
k-nucleotide  #6 12.31  25,000,000 381,104 1607 41.39 79% 82% 95% 81%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.33  1,000 1,032 660 0.64 39% 53% 52% 63%
mandelbrot  #4 0.71  4,000 35,240 660 1.89 68% 66% 72% 68%
mandelbrot  #4 7.32  16,000 66,784 660 22.50 80% 97% 52% 81%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.25  1,000 2,208 796 0.52 57% 63% 60% 26%
mandelbrot  #2 0.68  4,000 32,596 796 2.16 82% 81% 80% 84%
mandelbrot  #2 6.10  16,000 76,520 796 23.59 97% 98% 98% 96%
source secs N mem gz cpu cpu load
mandelbrot  0.35  1,000 1,012 665 0.46 20% 82% 22% 15%
mandelbrot  2.95  4,000 32,484 665 3.05 3% 97% 2% 4%
mandelbrot  44.34  16,000 33,180 665 44.45 22% 1% 0% 79%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.26  1,000 2,040 802 0.54 52% 32% 62% 68%
mandelbrot  #6 0.71  4,000 33,012 802 2.26 87% 76% 81% 79%
mandelbrot  #6 6.37  16,000 76,684 802 24.68 97% 97% 97% 99%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.28  1,000 916 903 0.64 71% 50% 44% 74%
mandelbrot  #3 0.90  4,000 35,356 903 3.12 84% 99% 87% 82%
mandelbrot  #3 11.43  16,000 78,932 903 44.86 98% 98% 98% 99%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.34  2,098 2,240 5180 0.64 21% 69% 50% 52%
source secs N mem gz cpu cpu load
meteor-contest  0.80  2,098 39,452 4408 1.16 12% 7% 33% 96%
source secs N mem gz cpu cpu load
n-body  #4 0.40  500,000 2,152 1489 0.49 64% 29% 34% 0%
n-body  #4 2.42  5,000,000 32,872 1489 2.52 2% 97% 4% 2%
n-body  #4 22.17  50,000,000 33,040 1489 22.27 100% 1% 0% 1%
source secs N mem gz cpu cpu load
n-body  #2 0.40  500,000 2,060 1424 0.49 35% 15% 10% 70%
n-body  #2 2.40  5,000,000 32,704 1424 2.50 96% 3% 2% 4%
n-body  #2 22.38  50,000,000 33,084 1424 22.48 100% 1% 0% 1%
source secs N mem gz cpu cpu load
n-body  #5 0.42  500,000 33,080 1429 0.51 5% 34% 71% 14%
n-body  #5 2.41  5,000,000 32,960 1429 2.50 98% 1% 2% 3%
n-body  #5 22.51  50,000,000 32,892 1429 22.61 1% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.40  500,000 2,040 1430 0.51 28% 10% 17% 76%
n-body  #3 2.66  5,000,000 32,132 1430 2.76 2% 5% 97% 2%
n-body  #3 22.78  50,000,000 33,160 1430 22.88 100% 1% 1% 1%
source secs N mem gz cpu cpu load
n-body  0.44  500,000 33,968 1430 0.53 62% 36% 24% 5%
n-body  2.44  5,000,000 33,628 1430 2.55 96% 3% 2% 6%
n-body  22.73  50,000,000 34,464 1430 22.84 0% 91% 9% 1%
source secs N mem gz cpu cpu load
pidigits  0.99  2,000 110,232 800 1.99 45% 59% 50% 54%
pidigits  6.91  6,000 247,768 800 8.47 8% 25% 80% 12%
pidigits  19.67  10,000 312,608 800 21.50 50% 5% 4% 53%
source secs N mem gz cpu cpu load
pidigits  #2 0.28  2,000 1,028 938 0.36 43% 11% 19% 66%
pidigits  #2 1.19  6,000 32,632 938 1.41 7% 16% 93% 3%
pidigits  #2 3.13  10,000 36,984 938 3.36 4% 4% 99% 3%
regex-redux  #4 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  #3 0.66  50,000 45,016 929 2.03 94% 72% 77% 71%
regex-redux  #3 1.56  500,000 113,664 929 4.75 90% 73% 67% 76%
regex-redux  #3 10.51  5,000,000 573,972 929 31.30 70% 73% 70% 86%
source secs N mem gz cpu cpu load
regex-redux  0.66  50,000 43,404 868 1.75 78% 71% 53% 70%
regex-redux  2.31  500,000 121,796 868 4.88 43% 65% 56% 52%
regex-redux  16.27  5,000,000 608,804 868 29.20 28% 77% 37% 38%
regex-redux  #5 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  #6 0.78  50,000 42,968 740 2.11 66% 82% 81% 64%
regex-redux  #6 1.55  500,000 104,988 740 4.55 84% 69% 70% 76%
regex-redux  #6 10.84  5,000,000 603,452 740 30.58 69% 64% 87% 64%
regex-redux  #2 Bad Output  50,000
source secs N mem gz cpu cpu load
reverse-complement  #6 0.20  250,000 ? 752 0.33 40% 52% 60% 20%
reverse-complement  #6 6.13  100,000,000 2,026,596 752 7.26 21% 63% 12% 25%
source secs N mem gz cpu cpu load
reverse-complement  #8 0.34  250,000 2,096 2183 0.49 50% 56% 24% 47%
reverse-complement  #8 3.15  100,000,000 680,424 2183 7.07 52% 70% 43% 63%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.18  250,000 ? 651 0.31 33% 94% 32% 22%
reverse-complement  #4 9.59  100,000,000 1,923,996 651 9.86 14% 16% 23% 53%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.37  250,000 2,196 1722 0.39 36% 22% 25% 63%
reverse-complement  #3 5.02  100,000,000 1,145,884 1722 11.04 85% 42% 53% 43%
source secs N mem gz cpu cpu load
reverse-complement  #7 0.43  250,000 2,208 1647 0.62 26% 77% 47% 37%
reverse-complement  #7 24.15  100,000,000 ? 1647 ? 17% 73% 70% 14%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.19  250,000 ? 1108 0.31 40% 75% 21% 21%
reverse-complement  #5 6.81  100,000,000 1,121,596 1108 7.15 80% 3% 4% 20%
source secs N mem gz cpu cpu load
spectral-norm  0.35  500 2,040 514 0.51 26% 74% 35% 12%
spectral-norm  5.16  3,000 34,064 514 5.34 3% 2% 2% 98%
spectral-norm  16.82  5,500 34,788 514 17.00 2% 100% 1% 1%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.29  500 2,196 950 0.63 57% 67% 42% 58%
spectral-norm  #2 1.59  3,000 35,228 950 5.65 86% 93% 88% 90%
spectral-norm  #2 4.38  5,500 35,388 950 16.80 96% 96% 95% 97%
source secs N mem gz cpu cpu load
thread-ring  #3 4.33  500,000 51,720 530 5.99 4% 63% 64% 5%
thread-ring  #3 39.32  5,000,000 52,484 530 53.01 29% 36% 35% 30%
thread-ring  #3 386.64  50,000,000 359,916 530 517.46 28% 37% 37% 27%
source secs N mem gz cpu cpu load
thread-ring  #7 4.08  500,000 38,372 473 5.57 3% 65% 66% 3%
thread-ring  #7 37.64  5,000,000 39,020 473 50.91 48% 17% 17% 47%
thread-ring  #7 374.24  50,000,000 38,340 473 505.82 22% 42% 42% 22%