The Computer Language
24.04 Benchmarks Game

all Java programs & measurements

java 22 2024-03-19
Java HotSpot(TM) 64-Bit Server VM
(build 22+36-2370,
mixed mode, sharing)

source secs N mem gz cpu secs cpu load
binary-trees  #7 1.40  7 43,500 841 0.22 4% 9% 1% 3%
binary-trees  #7 0.11  14 108,020 841 0.21 45% 41% 33% 90%
binary-trees  #7 2.57  21 1,728,452 841 8.00 91% 76% 70% 77%
source secs N mem gz cpu secs cpu load
binary-trees  #4 1.47  7 41,604 846 0.19 5% 3% 2% 0%
binary-trees  #4 0.13  14 92,704 846 0.19 33% 53% 28% 50%
binary-trees  #4 4.50  21 2,081,744 846 5.22 71% 30% 6% 9%
source secs N mem gz cpu secs cpu load
binary-trees  #6 1.23  7 40,856 535 0.19 0% 11% 4% 1%
binary-trees  #6 0.14  14 104,836 535 0.17 25% 14% 40% 61%
binary-trees  #6 4.84  21 2,097,072 535 5.60 71% 32% 5% 7%
source secs N mem gz cpu secs cpu load
binary-trees  #2 1.37  7 40,776 558 0.19 1% 2% 8% 3%
binary-trees  #2 0.13  14 104,064 558 0.17 23% 25% 46% 53%
binary-trees  #2 4.93  21 2,067,656 558 5.67 49% 32% 25% 9%
source secs N mem gz cpu secs cpu load
binary-trees  #3 1.23  7 40,544 546 0.18 12% 1% 3% 1%
binary-trees  #3 0.13  14 104,392 546 0.17 0% 15% 50% 58%
binary-trees  #3 4.80  21 2,076,860 546 5.59 76% 14% 6% 20%
source secs N mem gz cpu secs cpu load
fannkuch-redux  1.48  10 42,452 1289 0.59 15% 8% 8% 8%
fannkuch-redux  0.91  11 42,620 1289 3.40 93% 91% 95% 96%
fannkuch-redux  10.98  12 42,812 1289 43.36 98% 99% 98% 99%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #2 1.67  10 40,948 520 0.54 4% 27% 1% 1%
fannkuch-redux  #2 4.58  11 40,836 520 4.62 0% 1% 99% 1%
fannkuch-redux  #2 44.03  12 40,916 520 44.09 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #3 1.64  10 42,200 1264 0.47 17% 7% 2% 3%
fannkuch-redux  #3 3.03  11 42,052 1264 3.10 1% 4% 1% 97%
fannkuch-redux  #3 40.76  12 42,844 1264 40.83 0% 99% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #6 1.52  250,000 44,784 2549 0.34 10% 3% 4% 4%
fasta  #6 0.23  2,500,000 45,104 2549 0.59 56% 72% 73% 65%
fasta  #6 1.18  25,000,000 48,408 2549 3.71 75% 79% 87% 73%
source secs N mem gz cpu secs cpu load
fasta  #2 1.45  250,000 42,864 1259 0.34 4% 14% 2% 4%
fasta  #2 0.59  2,500,000 42,532 1259 0.70 94% 0% 16% 10%
fasta  #2 4.35  25,000,000 47,184 1259 4.50 23% 23% 54% 3%
source secs N mem gz cpu secs cpu load
fasta  #4 1.51  250,000 40,296 1528 0.27 8% 6% 8% 15%
fasta  #4 0.45  2,500,000 42,476 1528 0.53 15% 11% 95% 2%
fasta  #4 3.15  25,000,000 42,784 1528 3.26 1% 1% 99% 3%
source secs N mem gz cpu secs cpu load
fasta  #5 1.33  250,000 45,152 2478 0.34 5% 11% 5% 4%
fasta  #5 0.24  2,500,000 45,740 2478 0.66 80% 58% 60% 80%
fasta  #5 1.24  25,000,000 48,752 2478 3.81 76% 77% 83% 72%
source secs N mem gz cpu secs cpu load
k-nucleotide  #5 2.07  250,000 203,132 2225 1.46 14% 19% 12% 26%
k-nucleotide  #5 2.01  2,500,000 213,372 2225 4.35 35% 24% 74% 85%
k-nucleotide  #5 16.05  25,000,000 219,872 2225 38.17 33% 25% 93% 86%
source secs N mem gz cpu secs cpu load
k-nucleotide  #6 1.92  250,000 83,544 1614 1.14 16% 15% 13% 17%
k-nucleotide  #6 1.08  2,500,000 153,572 1614 3.08 73% 68% 78% 68%
k-nucleotide  #6 7.18  25,000,000 365,592 1614 25.01 83% 91% 85% 88%
source secs N mem gz cpu secs cpu load
k-nucleotide  1.98  250,000 72,752 1821 1.17 18% 8% 15% 15%
k-nucleotide  0.88  2,500,000 137,020 1821 2.32 85% 65% 59% 59%
k-nucleotide  5.01  25,000,000 368,104 1821 16.33 92% 79% 78% 77%
source secs N mem gz cpu secs cpu load
k-nucleotide  #3 2.00  250,000 82,784 1642 1.24 17% 19% 14% 20%
k-nucleotide  #3 1.05  2,500,000 154,840 1642 3.26 82% 75% 78% 75%
k-nucleotide  #3 7.30  25,000,000 365,348 1642 25.39 95% 84% 83% 86%
source secs N mem gz cpu secs cpu load
k-nucleotide  #4 1.99  250,000 197,372 1887 1.08 27% 15% 9% 6%
k-nucleotide  #4 3.72  2,500,000 208,664 1887 3.93 9% 92% 1% 3%
k-nucleotide  #4 34.43  25,000,000 195,584 1887 34.79 8% 92% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #6 1.33  1,000 40,396 808 0.31 11% 6% 6% 4%
mandelbrot  #6 0.35  4,000 42,476 808 1.19 88% 91% 82% 85%
mandelbrot  #6 4.28  16,000 83,056 808 16.84 99% 98% 98% 98%
source secs N mem gz cpu secs cpu load
mandelbrot  #4 1.51  1,000 41,968 667 0.32 6% 2% 4% 10%
mandelbrot  #4 0.35  4,000 45,716 667 1.14 77% 80% 91% 80%
mandelbrot  #4 4.45  16,000 104,488 667 16.20 86% 96% 84% 98%
source secs N mem gz cpu secs cpu load
mandelbrot  1.65  1,000 41,080 671 0.38 4% 0% 16% 3%
mandelbrot  1.71  4,000 41,252 671 1.75 0% 1% 98% 3%
mandelbrot  25.70  16,000 41,388 671 25.76 0% 99% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #2 1.32  1,000 40,168 802 0.36 14% 4% 6% 6%
mandelbrot  #2 0.35  4,000 42,776 802 1.16 77% 85% 79% 91%
mandelbrot  #2 4.13  16,000 83,152 802 16.22 98% 98% 99% 98%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 1.50  1,000 41,592 910 0.43 12% 5% 5% 5%
mandelbrot  #3 0.70  4,000 43,952 910 2.52 87% 89% 88% 95%
mandelbrot  #3 7.86  16,000 83,424 910 30.96 99% 99% 99% 98%
source secs N mem gz cpu secs cpu load
n-body  #5 1.62  500,000 41,080 1435 0.33 11% 0% 1% 8%
n-body  #5 0.76  5,000,000 41,260 1435 0.79 3% 98% 2% 2%
n-body  #5 6.78  50,000,000 41,384 1435 6.82 0% 0% 99% 1%
source secs N mem gz cpu secs cpu load
n-body  #4 1.61  500,000 41,084 1495 0.33 13% 2% 0% 5%
n-body  #4 0.76  5,000,000 41,264 1495 0.80 2% 1% 97% 1%
n-body  #4 6.87  50,000,000 41,188 1495 6.91 0% 0% 99% 0%
source secs N mem gz cpu secs cpu load
n-body  #3 1.33  500,000 41,196 1436 0.34 15% 3% 5% 2%
n-body  #3 0.82  5,000,000 41,516 1436 0.86 0% 98% 3% 3%
n-body  #3 7.47  50,000,000 41,256 1436 7.51 86% 0% 14% 0%
source secs N mem gz cpu secs cpu load
n-body  #2 1.63  500,000 41,316 1430 0.32 10% 0% 3% 7%
n-body  #2 0.81  5,000,000 41,244 1430 0.85 97% 1% 4% 6%
n-body  #2 7.42  50,000,000 41,308 1430 7.46 13% 1% 0% 86%
source secs N mem gz cpu secs cpu load
n-body  1.52  500,000 41,160 1437 0.33 3% 2% 0% 16%
n-body  0.86  5,000,000 41,348 1437 0.90 2% 98% 2% 2%
n-body  7.85  50,000,000 41,512 1437 7.89 0% 99% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  1.65  2,000 233,964 807 1.30 23% 7% 20% 30%
pidigits  2.90  6,000 421,892 807 3.89 40% 21% 24% 50%
pidigits  7.61  10,000 486,236 807 8.69 29% 16% 27% 42%
source secs N mem gz cpu secs cpu load
pidigits  #3 1.43  2,000 38,488 770 0.16 8% 0% 1% 2%
pidigits  #3 0.36  6,000 40,344 770 0.38 5% 2% 97% 0%
pidigits  #3 0.93  10,000 40,860 770 0.96 1% 98% 2% 2%
source secs N mem gz cpu secs cpu load
pidigits  #2 1.52  2,000 41,080 944 0.24 1% 2% 2% 11%
pidigits  #2 0.51  6,000 43,952 944 0.58 11% 4% 94% 6%
pidigits  #2 1.34  10,000 44,524 944 1.42 0% 3% 97% 4%
source secs N mem gz cpu secs cpu load
regex-redux  #3 1.71  50,000 60,876 935 1.01 19% 14% 13% 11%
regex-redux  #3 0.89  500,000 178,444 935 2.77 72% 73% 93% 76%
regex-redux  #3 5.17  5,000,000 671,372 935 17.04 79% 78% 92% 82%
source secs N mem gz cpu secs cpu load
regex-redux  #6 1.74  50,000 57,856 746 0.92 19% 13% 10% 12%
regex-redux  #6 0.91  500,000 156,224 746 2.63 79% 71% 71% 73%
regex-redux  #6 5.57  5,000,000 1,234,928 746 17.17 71% 86% 70% 81%
source secs N mem gz cpu secs cpu load
regex-redux  1.71  50,000 59,968 875 1.01 14% 12% 18% 15%
regex-redux  1.22  500,000 179,000 875 2.65 35% 37% 53% 92%
regex-redux  8.38  5,000,000 666,804 875 16.42 76% 35% 35% 49%
source secs N mem gz cpu secs cpu load
reverse-complement  #5 1.58  250,000 42,812 1115 0.24 2% 8% 1% 2%
reverse-complement  #5 4.73  100,000,001 1,096,344 1115 4.86 2% 89% 4% 8%
source secs N mem gz cpu secs cpu load
reverse-complement  #4 1.49  250,000 45,796 656 0.35 6% 2% 2% 12%
reverse-complement  #4 5.57  100,000,001 1,889,928 656 5.68 1% 97% 2% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #6 1.45  250,000 44,128 760 0.19 0% 2% 2% 9%
reverse-complement  #6 3.33  100,000,001 2,031,460 760 3.96 38% 1% 0% 79%
source secs N mem gz cpu secs cpu load
reverse-complement  #7 1.63  250,000 44,168 1654 0.36 5% 5% 4% 7%
reverse-complement  #7 23.06  100,000,001 1,036,296 1654 6.31 4% 6% 13% 4%
source secs N mem gz cpu secs cpu load
reverse-complement  #3 0.08  250,000 59,532 1728 0.13 22% 50% 70% 33%
reverse-complement  #3 Bad Output  100,000,001
source secs N mem gz cpu secs cpu load
reverse-complement  #8 0.08  250,000 42,516 2188 0.15 77% 25% 40% 50%
reverse-complement  #8 Bad Output  100,000,001
source secs N mem gz cpu secs cpu load
simple  1.59  1,000 43,744 445 0.43 17% 3% 2% 3%
simple  2.06  4,000 44,084 445 2.15 1% 2% 99% 1%
simple  29.62  16,000 43,712 445 29.71 0% 0% 96% 3%
source secs N mem gz cpu secs cpu load
spectral-norm  #2 1.44  500 41,456 956 0.38 5% 13% 6% 3%
spectral-norm  #2 0.85  3,000 41,900 956 3.06 92% 90% 88% 91%
spectral-norm  #2 2.40  5,500 42,164 956 9.25 97% 95% 95% 97%
source secs N mem gz cpu secs cpu load
spectral-norm  1.48  500 41,184 521 0.36 1% 2% 15% 4%
spectral-norm  2.18  3,000 41,620 521 2.23 1% 99% 2% 0%
spectral-norm  7.07  5,500 42,268 521 7.13 0% 0% 0% 99%
source secs N mem gz cpu secs cpu load
spectral-norm  #3 1.53  500 41,848 762 0.32 6% 7% 8% 3%
spectral-norm  #3 0.60  3,000 42,540 762 1.91 86% 86% 86% 94%
spectral-norm  #3 1.66  5,500 42,924 762 6.21 95% 95% 98% 95%
source secs N mem gz cpu secs cpu load
too simple  1.36  1,000,000 41,208 206 0.23 0% 2% 3% 12%
too simple  0.52  100,000,000 41,224 206 0.55 98% 1% 3% 3%
too simple  44.14  10,000,000,000 41,376 206 44.18 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
too simple  #2 1.56  1,000,000 41,208 207 0.23 1% 2% 3% 9%
too simple  #2 0.89  100,000,000 41,128 207 0.92 3% 4% 96% 1%
too simple  #2 81.68  10,000,000,000 41,512 207 81.73 100% 0% 0% 0%