The Computer Language
Benchmarks Game

all Java programs & measurements

java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) Server VM (build 25.92-b14, mixed mode)

source secs N mem gz cpu cpu load
binary-trees  #2 0.20  12 ? 603 0.19 0% 0% 0% 95%
binary-trees  #2 1.01  16 111,516 603 1.00 0% 1% 0% 99%
binary-trees  #2 16.73  20 516,400 603 16.70 1% 1% 1% 100%
source secs N mem gz cpu cpu load
binary-trees  #6 0.20  12 ? 583 0.20 0% 0% 0% 95%
binary-trees  #6 0.96  16 125,112 583 0.96 0% 0% 1% 99%
binary-trees  #6 16.64  20 527,868 583 16.62 1% 1% 0% 100%
source secs N mem gz cpu cpu load
binary-trees  #7 0.90  12 ? 889 ? 2% 3% 8% 97%
binary-trees  #7 1.31  16 164,588 889 1.30 0% 2% 0% 100%
binary-trees  #7 23.49  20 635,272 889 23.45 0% 0% 2% 100%
source secs N mem gz cpu cpu load
binary-trees  #4 0.38  12 444 911 0.37 5% 100% 3% 100%
binary-trees  #4 1.07  16 171,028 911 1.05 86% 18% 1% 100%
binary-trees  #4 20.32  20 599,748 911 20.29 1% 1% 0% 100%
source secs N mem gz cpu cpu load
binary-trees  #3 0.19  12 ? 584 0.18 0% 5% 0% 100%
binary-trees  #3 0.92  16 149,032 584 0.92 3% 4% 0% 100%
binary-trees  #3 16.53  20 511,692 584 16.51 1% 1% 0% 100%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.36  60,000 484 1429 0.35 3% 3% 3% 100%
chameneos-redux  #2 1.46  600,000 39,592 1429 1.45 2% 2% 1% 100%
chameneos-redux  #2 12.10  6,000,000 60,040 1429 12.09 1% 1% 1% 100%
source secs N mem gz cpu cpu load
chameneos-redux  #3 1.47  60,000 28,256 1267 1.42 5% 1% 0% 100%
chameneos-redux  #3 10.91  600,000 44,748 1267 10.90 1% 1% 1% 100%
chameneos-redux  #3 107.63  6,000,000 44,188 1267 107.59 2% 1% 1% 100%
source secs N mem gz cpu cpu load
chameneos-redux  0.35  60,000 488 1770 0.33 3% 0% 0% 100%
chameneos-redux  0.77  600,000 25,528 1770 0.76 1% 0% 1% 99%
chameneos-redux  3.62  6,000,000 30,416 1770 3.62 3% 2% 0% 100%
source secs N mem gz cpu cpu load
chameneos-redux  #4 1.40  60,000 29,532 1607 1.40 3% 3% 0% 100%
chameneos-redux  #4 10.96  600,000 29,196 1607 10.95 1% 1% 0% 100%
chameneos-redux  #4 123.13  6,000,000 27,960 1607 123.09 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  0.54  10 23,108 1282 0.53 0% 2% 4% 98%
fannkuch-redux  5.16  11 23,252 1282 5.15 1% 0% 1% 100%
fannkuch-redux  68.86  12 23,384 1282 68.84 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.52  10 23,076 1257 0.52 2% 2% 2% 100%
fannkuch-redux  #3 5.12  11 22,964 1257 5.12 2% 0% 1% 100%
fannkuch-redux  #3 67.02  12 23,380 1257 67.00 0% 1% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 1.10  10 21,308 514 0.71 1% 0% 2% 99%
fannkuch-redux  #2 7.61  11 20,996 514 7.60 1% 1% 1% 100%
fannkuch-redux  #2 73.64  12 21,356 514 73.61 0% 1% 1% 100%
source secs N mem gz cpu cpu load
fasta  #5 0.31  250,000 488 2457 0.30 0% 3% 0% 100%
fasta  #5 0.78  2,500,000 25,252 2457 0.78 3% 0% 3% 100%
fasta  #5 4.94  25,000,000 28,612 2457 4.93 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fasta  #2 0.30  250,000 456 1240 0.29 0% 0% 3% 100%
fasta  #2 1.06  2,500,000 24,348 1240 1.06 0% 0% 2% 100%
fasta  #2 7.54  25,000,000 24,532 1240 7.54 1% 1% 0% 100%
source secs N mem gz cpu cpu load
fasta  #4 0.22  250,000 476 1507 0.22 0% 9% 0% 100%
fasta  #4 0.72  2,500,000 22,628 1507 0.72 3% 3% 3% 99%
fasta  #4 4.77  25,000,000 23,400 1507 4.76 1% 1% 1% 100%
source secs N mem gz cpu cpu load
k-nucleotide  1.25  250,000 50,228 1802 1.14 3% 1% 2% 100%
k-nucleotide  4.52  2,500,000 91,200 1802 4.37 2% 0% 0% 100%
k-nucleotide  36.57  25,000,000 512,948 1802 36.54 1% 0% 0% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #6 1.18  250,000 50,052 1602 1.18 1% 0% 1% 99%
k-nucleotide  #6 5.36  2,500,000 92,640 1602 5.34 2% 2% 0% 100%
k-nucleotide  #6 47.14  25,000,000 516,280 1602 47.10 1% 1% 1% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #5 2.13  250,000 187,912 2211 2.11 0% 1% 1% 100%
k-nucleotide  #5 8.46  2,500,000 163,524 2211 8.44 1% 1% 0% 100%
k-nucleotide  #5 67.50  25,000,000 198,584 2211 67.44 1% 1% 1% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.23  250,000 51,908 1630 1.22 0% 0% 1% 100%
k-nucleotide  #3 5.60  2,500,000 91,280 1630 5.43 9% 3% 3% 100%
k-nucleotide  #3 48.21  25,000,000 516,076 1630 48.18 1% 1% 0% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #4 1.53  250,000 186,884 1873 1.53 2% 2% 1% 100%
k-nucleotide  #4 7.12  2,500,000 189,456 1873 7.11 1% 1% 0% 100%
k-nucleotide  #4 57.54  25,000,000 197,732 1873 57.48 1% 1% 0% 100%
source secs N mem gz cpu cpu load
mandelbrot  0.36  1,000 468 665 0.35 0% 0% 6% 97%
mandelbrot  2.95  4,000 23,148 665 2.95 0% 1% 1% 100%
mandelbrot  43.60  16,000 23,128 665 43.58 1% 1% 0% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.27  1,000 492 796 0.27 4% 0% 0% 100%
mandelbrot  #2 1.88  4,000 24,584 796 1.87 4% 2% 1% 100%
mandelbrot  #2 27.41  16,000 55,556 796 27.40 1% 0% 1% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.29  1,000 484 802 0.28 3% 3% 0% 100%
mandelbrot  #6 2.03  4,000 24,576 802 2.02 4% 1% 0% 100%
mandelbrot  #6 29.62  16,000 55,928 802 29.60 2% 1% 0% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.38  1,000 464 903 0.37 0% 5% 0% 100%
mandelbrot  #3 2.85  4,000 25,244 903 2.85 1% 0% 1% 100%
mandelbrot  #3 41.20  16,000 56,048 903 41.18 1% 1% 1% 100%
source secs N mem gz cpu cpu load
meteor-contest  0.93  2,098 23,940 4368 0.93 3% 2% 0% 100%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.49  2,098 25,016 5177 0.49 2% 4% 2% 100%
source secs N mem gz cpu cpu load
n-body  #4 0.73  500,000 ? 1489 ? 1% 1% 1% 99%
n-body  #4 2.63  5,000,000 21,144 1489 2.62 0% 2% 2% 100%
n-body  #4 25.16  50,000,000 21,200 1489 25.15 0% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.42  500,000 23,076 1424 0.40 2% 2% 0% 100%
n-body  #2 2.59  5,000,000 23,008 1424 2.59 0% 0% 2% 100%
n-body  #2 24.25  50,000,000 23,108 1424 24.24 1% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.41  500,000 460 1430 0.40 0% 0% 2% 100%
n-body  #3 2.58  5,000,000 23,124 1430 2.58 1% 1% 0% 100%
n-body  #3 24.07  50,000,000 23,184 1430 24.06 1% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  0.93  500,000 23,644 1430 0.48 6% 1% 2% 97%
n-body  2.91  5,000,000 23,732 1430 2.90 2% 2% 0% 100%
n-body  27.15  50,000,000 23,908 1430 27.14 0% 1% 1% 100%
source secs N mem gz cpu cpu load
pidigits  1.67  2,000 166,660 800 1.64 1% 1% 1% 100%
pidigits  10.36  6,000 376,772 800 10.34 1% 1% 0% 100%
pidigits  26.33  10,000 376,900 800 26.29 3% 1% 0% 100%
source secs N mem gz cpu cpu load
pidigits  #2 0.34  2,000 492 938 0.32 3% 3% 0% 100%
pidigits  #2 1.58  6,000 24,620 938 1.57 2% 1% 1% 100%
pidigits  #2 4.14  10,000 25,988 938 4.13 1% 1% 0% 100%
source secs N mem gz cpu cpu load
regex-dna  #5 0.90  50,000 35,524 929 0.88 0% 1% 2% 99%
regex-dna  #5 3.36  500,000 115,912 929 3.35 2% 1% 0% 100%
regex-dna  #5 24.53  5,000,000 697,956 929 24.51 1% 1% 0% 100%
source secs N mem gz cpu cpu load
regex-dna  #7 1.97  50,000 53,512 1085 1.44 2% 1% 2% 100%
regex-dna  #7 2.67  500,000 166,140 1085 2.66 1% 1% 1% 100%
regex-dna  #7 11.41  5,000,000 699,176 1085 11.39 1% 1% 0% 100%
source secs N mem gz cpu cpu load
regex-dna  #6 1.20  50,000 30,608 740 0.77 2% 1% 0% 99%
regex-dna  #6 3.17  500,000 107,656 740 3.09 1% 2% 0% 100%
regex-dna  #6 22.35  5,000,000 623,244 740 22.34 1% 1% 0% 100%
source secs N mem gz cpu cpu load
regex-dna  #2 0.94  50,000 33,124 1534 0.90 1% 3% 1% 99%
regex-dna  #2 4.28  500,000 134,588 1534 4.22 0% 2% 1% 100%
regex-dna  #2 32.75  5,000,000 759,700 1534 32.73 2% 1% 1% 100%
source secs N mem gz cpu cpu load
regex-dna  #4 0.91  50,000 37,704 921 0.88 1% 1% 0% 100%
regex-dna  #4 3.12  500,000 94,952 921 3.11 1% 2% 0% 100%
regex-dna  #4 23.55  5,000,000 746,724 921 23.54 1% 1% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.27  250,000 456 1098 0.24 4% 4% 0% 100%
reverse-complement  #5 0.71  2,500,000 37,316 1098 0.46 0% 1% 1% 100%
reverse-complement  #5 1.88  25,000,000 286,824 1098 1.87 1% 0% 0% 100%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.27  250,000 460 592 0.26 4% 0% 0% 96%
reverse-complement  #4 0.58  2,500,000 33,076 592 0.57 3% 5% 0% 100%
reverse-complement  #4 2.85  25,000,000 485,372 592 2.84 1% 2% 0% 100%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.28  250,000 460 1661 0.26 4% 0% 0% 100%
reverse-complement  #3 0.49  2,500,000 65,384 1661 0.49 4% 4% 0% 100%
reverse-complement  #3 2.54  25,000,000 305,260 1661 2.53 2% 2% 2% 100%
source secs N mem gz cpu cpu load
reverse-complement  #7 0.56  250,000 25,720 1640 0.42 9% 0% 5% 89%
reverse-complement  #7 1.15  2,500,000 48,872 1640 0.71 2% 1% 5% 95%
reverse-complement  #7 6.71  25,000,000 ? 1640 ? 4% 17% 4% 100%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.23  250,000 456 745 0.22 0% 0% 4% 100%
reverse-complement  #6 0.41  2,500,000 444 745 0.40 5% 0% 3% 100%
reverse-complement  #6 1.79  25,000,000 521,988 745 1.78 1% 2% 2% 100%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.36  500 468 950 0.35 3% 3% 0% 100%
spectral-norm  #2 5.01  3,000 23,740 950 5.00 1% 0% 1% 100%
spectral-norm  #2 16.30  5,500 23,872 950 16.29 1% 0% 1% 100%
source secs N mem gz cpu cpu load
spectral-norm  0.43  500 23,528 514 0.38 5% 2% 0% 100%
spectral-norm  5.30  3,000 23,492 514 5.29 1% 1% 1% 100%
spectral-norm  17.29  5,500 23,512 514 17.28 1% 1% 1% 100%
source secs N mem gz cpu cpu load
thread-ring  #7 2.61  500,000 29,516 473 2.60 1% 2% 0% 100%
thread-ring  #7 24.20  5,000,000 29,684 473 24.18 1% 1% 1% 100%
thread-ring  #7 230.93  50,000,000 29,716 473 230.82 1% 1% 1% 100%
source secs N mem gz cpu cpu load
thread-ring  #3 3.05  500,000 370,668 530 3.03 0% 1% 1% 100%
thread-ring  #3 25.10  5,000,000 370,732 530 25.08 1% 1% 0% 100%
thread-ring  #3 239.88  50,000,000 370,880 530 239.76 1% 1% 1% 100%