The Computer Language
Benchmarks Game

all Java programs & measurements

java 9
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

source secs N mem gz cpu cpu load
binary-trees  #6 0.25  7 2,020 529 0.39 50% 17% 84% 16%
binary-trees  #6 0.33  14 872 529 0.54 44% 24% 66% 39%
binary-trees  #6 12.79  21 885,320 529 16.48 80% 14% 11% 27%
source secs N mem gz cpu cpu load
binary-trees  #7 0.32  7 2,124 835 0.46 38% 23% 36% 76%
binary-trees  #7 0.34  14 876 835 0.72 41% 85% 55% 35%
binary-trees  #7 8.58  21 966,808 835 28.98 86% 84% 90% 81%
source secs N mem gz cpu cpu load
binary-trees  #2 0.25  7 2,044 552 0.40 42% 42% 8% 76%
binary-trees  #2 0.33  14 916 552 0.54 32% 19% 68% 48%
binary-trees  #2 12.47  21 891,852 552 16.19 38% 11% 70% 15%
source secs N mem gz cpu cpu load
binary-trees  #4 0.26  7 1,764 840 0.42 38% 8% 48% 73%
binary-trees  #4 0.35  14 964 840 0.61 57% 60% 37% 35%
binary-trees  #4 11.91  21 853,280 840 16.73 12% 13% 95% 24%
source secs N mem gz cpu cpu load
binary-trees  #3 0.24  7 2,036 540 0.39 64% 54% 17% 39%
binary-trees  #3 0.33  14 2,024 540 0.53 34% 32% 52% 48%
binary-trees  #3 12.26  21 891,432 540 16.02 15% 17% 90% 12%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.40  60,000 1,984 1429 0.92 63% 62% 45% 72%
chameneos-redux  #2 1.37  600,000 65,452 1429 3.87 90% 76% 46% 77%
chameneos-redux  #2 10.77  6,000,000 198,496 1429 32.92 68% 88% 90% 65%
source secs N mem gz cpu cpu load
chameneos-redux  #3 0.52  60,000 36,508 1267 1.35 65% 58% 86% 57%
chameneos-redux  #3 1.49  600,000 83,868 1267 4.90 60% 88% 95% 89%
chameneos-redux  #3 8.04  6,000,000 202,036 1267 27.27 78% 91% 98% 74%
source secs N mem gz cpu cpu load
chameneos-redux  #4 0.50  60,000 38,268 1607 1.44 74% 69% 68% 82%
chameneos-redux  #4 0.88  600,000 44,884 1607 2.85 94% 83% 64% 87%
chameneos-redux  #4 4.78  6,000,000 45,184 1607 16.44 79% 97% 71% 99%
source secs N mem gz cpu cpu load
chameneos-redux  0.41  60,000 2,168 1770 0.86 48% 61% 38% 72%
chameneos-redux  0.92  600,000 46,332 1770 1.68 53% 34% 42% 57%
chameneos-redux  8.01  6,000,000 63,432 1770 11.51 42% 38% 19% 45%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.65  10 32,532 514 0.80 15% 11% 22% 89%
fannkuch-redux  #2 6.28  11 32,556 514 6.44 3% 98% 2% 2%
fannkuch-redux  #2 68.60  12 32,908 514 68.72 0% 1% 100% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.63  10 32,356 1257 0.79 24% 81% 3% 17%
fannkuch-redux  #3 5.17  11 32,144 1257 5.34 96% 5% 3% 2%
fannkuch-redux  #3 67.10  12 32,860 1257 67.28 1% 100% 1% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  0.37  10 900 1282 0.94 51% 84% 59% 67%
fannkuch-redux  1.55  11 34,444 1282 5.58 90% 99% 89% 87%
fannkuch-redux  15.09  12 34,764 1282 59.26 99% 98% 98% 100%
source secs N mem gz cpu cpu load
fasta  #4 0.30  250,000 856 1507 0.45 69% 31% 7% 48%
fasta  #4 0.77  2,500,000 37,988 1507 1.01 27% 14% 17% 75%
fasta  #4 4.98  25,000,000 38,580 1507 5.22 5% 19% 2% 81%
source secs N mem gz cpu cpu load
fasta  #2 0.33  250,000 908 1240 0.53 16% 84% 32% 39%
fasta  #2 1.09  2,500,000 38,384 1240 1.31 9% 16% 5% 93%
fasta  #2 7.48  25,000,000 38,888 1240 7.72 4% 2% 2% 98%
source secs N mem gz cpu cpu load
fasta  #5 0.30  250,000 968 2457 0.60 45% 55% 61% 47%
fasta  #5 0.50  2,500,000 36,644 2457 1.15 71% 48% 78% 41%
fasta  #5 2.32  25,000,000 46,816 2457 6.37 61% 60% 96% 60%
source secs N mem gz cpu cpu load
k-nucleotide  #4 1.08  250,000 207,448 1873 1.95 42% 68% 31% 43%
k-nucleotide  #4 6.32  2,500,000 221,540 1873 7.42 13% 18% 81% 9%
k-nucleotide  #4 55.61  25,000,000 203,368 1873 56.78 2% 3% 1% 98%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.72  250,000 50,608 1602 2.12 79% 68% 73% 80%
k-nucleotide  #6 1.67  2,500,000 115,980 1602 5.36 85% 78% 74% 86%
k-nucleotide  #6 11.80  25,000,000 372,888 1602 40.14 89% 82% 91% 80%
source secs N mem gz cpu cpu load
k-nucleotide  #5 1.09  250,000 217,480 2211 2.74 80% 72% 47% 57%
k-nucleotide  #5 4.53  2,500,000 230,712 2211 10.35 35% 23% 96% 77%
k-nucleotide  #5 32.96  25,000,000 226,652 2211 72.70 96% 29% 83% 15%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.73  250,000 51,344 1630 2.12 69% 82% 73% 71%
k-nucleotide  #3 1.68  2,500,000 115,724 1630 5.38 77% 85% 83% 79%
k-nucleotide  #3 11.71  25,000,000 372,176 1630 40.06 88% 84% 83% 89%
source secs N mem gz cpu cpu load
k-nucleotide  0.73  250,000 54,972 1802 1.52 67% 59% 55% 48%
k-nucleotide  1.48  2,500,000 112,612 1802 3.83 58% 80% 72% 61%
k-nucleotide  8.38  25,000,000 375,988 1802 26.25 73% 97% 70% 74%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.27  1,000 952 903 0.57 31% 54% 96% 38%
mandelbrot  #3 1.01  4,000 35,268 903 3.51 98% 84% 82% 87%
mandelbrot  #3 12.37  16,000 78,524 903 48.79 100% 99% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  0.36  1,000 872 665 0.46 56% 15% 8% 49%
mandelbrot  2.94  4,000 33,032 665 3.04 2% 94% 1% 8%
mandelbrot  44.08  16,000 33,728 665 44.18 1% 100% 1% 1%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.34  1,000 904 660 0.62 71% 47% 53% 26%
mandelbrot  #4 0.85  4,000 37,012 660 2.15 58% 62% 75% 62%
mandelbrot  #4 8.91  16,000 69,976 660 27.61 90% 84% 84% 54%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.27  1,000 912 802 0.53 57% 52% 39% 64%
mandelbrot  #6 0.78  4,000 35,168 802 2.54 78% 77% 91% 83%
mandelbrot  #6 7.24  16,000 76,760 802 28.15 97% 98% 98% 97%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.27  1,000 1,972 796 0.51 54% 50% 54% 36%
mandelbrot  #2 0.69  4,000 33,468 796 2.14 73% 80% 71% 94%
mandelbrot  #2 6.08  16,000 77,056 796 23.61 97% 97% 99% 97%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.35  2,098 1,872 5177 0.62 49% 74% 41% 22%
source secs N mem gz cpu cpu load
meteor-contest  0.82  2,098 40,120 4368 1.15 8% 28% 75% 31%
source secs N mem gz cpu cpu load
n-body  #4 0.47  500,000 32,980 1489 0.52 8% 79% 81% 9%
n-body  #4 2.58  5,000,000 32,864 1489 2.66 4% 97% 4% 3%
n-body  #4 24.03  50,000,000 35,392 1489 24.11 1% 99% 0% 2%
source secs N mem gz cpu cpu load
n-body  #2 0.43  500,000 33,012 1424 0.51 11% 90% 19% 7%
n-body  #2 2.44  5,000,000 34,832 1424 2.53 5% 3% 1% 96%
n-body  #2 22.56  50,000,000 35,208 1424 22.65 99% 1% 1% 1%
source secs N mem gz cpu cpu load
n-body  0.50  500,000 33,292 1430 0.58 12% 80% 24% 12%
n-body  2.79  5,000,000 34,004 1430 2.88 9% 3% 1% 93%
n-body  25.93  50,000,000 36,852 1430 26.02 99% 1% 1% 1%
source secs N mem gz cpu cpu load
n-body  #3 0.45  500,000 34,564 1430 0.54 47% 2% 16% 57%
n-body  #3 2.73  5,000,000 35,292 1430 2.83 2% 5% 96% 3%
n-body  #3 25.60  50,000,000 35,148 1430 25.70 1% 2% 1% 100%
source secs N mem gz cpu cpu load
pidigits  0.99  2,000 178,252 800 2.19 52% 66% 41% 69%
pidigits  6.75  6,000 287,800 800 8.14 89% 7% 24% 5%
pidigits  19.22  10,000 292,924 800 20.80 10% 73% 11% 17%
source secs N mem gz cpu cpu load
pidigits  #2 0.30  2,000 856 938 0.37 45% 7% 17% 71%
pidigits  #2 1.28  6,000 33,852 938 1.46 8% 30% 73% 10%
pidigits  #2 3.12  10,000 37,444 938 3.30 2% 5% 98% 4%
regex-redux  #2 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  0.69  50,000 46,604 868 1.78 59% 59% 64% 82%
regex-redux  2.12  500,000 168,620 868 4.28 59% 54% 32% 58%
regex-redux  16.62  5,000,000 629,640 868 30.58 30% 43% 72% 41%
regex-redux  #4 Bad Output  50,000
regex-redux  #5 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  #3 0.56  50,000 37,036 929 1.45 67% 52% 93% 58%
regex-redux  #3 1.62  500,000 170,372 929 4.50 71% 68% 82% 65%
regex-redux  #3 10.38  5,000,000 634,548 929 29.48 70% 64% 69% 82%
source secs N mem gz cpu cpu load
reverse-complement  #7 0.45  250,000 33,544 1640 0.60 22% 58% 64% 29%
reverse-complement  #7 1.46  2,500,000 62,248 1640 1.38 30% 21% 25% 83%
reverse-complement  #7 10.81  25,000,000 ? 1640 ? 7% 23% 72% 7%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.21  250,000 904 745 0.34 32% 64% 55% 15%
reverse-complement  #6 0.33  2,500,000 2,032 745 0.47 18% 25% 82% 21%
reverse-complement  #6 1.39  25,000,000 538,492 745 1.74 8% 35% 8% 78%
source secs N mem gz cpu cpu load
reverse-complement  #8 0.25  250,000 952 2124 0.46 32% 42% 35% 91%
reverse-complement  #8 0.35  2,500,000 2,116 2124 0.70 42% 36% 91% 35%
reverse-complement  #8 1.13  25,000,000 199,672 2124 2.76 48% 74% 70% 54%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.20  250,000 ? 592 0.34 24% 33% 95% 25%
reverse-complement  #4 0.44  2,500,000 53,588 592 0.64 68% 20% 16% 45%
reverse-complement  #4 2.18  25,000,000 392,688 592 2.40 7% 94% 10% 2%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.24  250,000 956 1661 0.37 29% 38% 58% 35%
reverse-complement  #3 0.35  2,500,000 2,116 1661 0.63 79% 31% 53% 18%
reverse-complement  #3 1.34  25,000,000 382,668 1661 2.90 38% 54% 41% 88%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.19  250,000 ? 1098 0.30 29% 17% 89% 29%
reverse-complement  #5 0.40  2,500,000 2,192 1098 0.59 26% 69% 45% 24%
reverse-complement  #5 1.65  25,000,000 321,312 1098 1.92 20% 44% 45% 9%
source secs N mem gz cpu cpu load
spectral-norm  0.36  500 908 514 0.48 14% 58% 17% 50%
spectral-norm  5.15  3,000 35,756 514 5.28 3% 98% 3% 3%
spectral-norm  16.79  5,500 36,052 514 16.92 1% 100% 1% 1%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.31  500 2,072 950 0.65 50% 71% 58% 45%
spectral-norm  #2 1.53  3,000 36,356 950 5.37 88% 86% 85% 94%
spectral-norm  #2 4.25  5,500 36,364 950 16.30 97% 96% 95% 97%
source secs N mem gz cpu cpu load
thread-ring  #7 3.39  500,000 41,684 473 3.66 31% 24% 21% 33%
thread-ring  #7 30.48  5,000,000 41,592 473 32.68 22% 25% 31% 29%
thread-ring  #7 297.36  50,000,000 41,476 473 317.80 27% 26% 30% 24%
source secs N mem gz cpu cpu load
thread-ring  #3 4.09  500,000 365,112 530 4.52 24% 30% 30% 28%
thread-ring  #3 31.80  5,000,000 358,688 530 33.64 24% 26% 26% 29%
thread-ring  #3 299.23  50,000,000 365,288 530 312.14 26% 26% 26% 27%