The Computer Language
Benchmarks Game

all Node js programs & measurements

v12.7.0

source secs N mem gz cpu cpu load
binary-trees  #4 2.38  7 28,072 1008 0.34 50% 4% 5% 20%
binary-trees  #4 0.26  14 852 1008 0.59 52% 50% 62% 88%
binary-trees  #4 31.14  21 884,260 1008 99.26 81% 79% 82% 79%
source secs N mem gz cpu cpu load
binary-trees  #5 2.17  7 24,484 994 0.33 10% 76% 40% 4%
binary-trees  #5 0.40  14 876 994 0.62 56% 79% 55% 34%
binary-trees  #5 29.10  21 593,664 994 94.54 81% 85% 80% 82%
source secs N mem gz cpu cpu load
binary-trees  #3 2.43  7 26,184 434 0.11 9% 12% 2% 23%
binary-trees  #3 0.22  14 872 434 0.25 10% 95% 14% 10%
binary-trees  #3 51.04  21 731,812 434 93.81 39% 45% 59% 41%
source secs N mem gz cpu cpu load
binary-trees  2.69  7 23,936 440 0.10 46% 2% 5% 19%
binary-trees  0.23  14 864 440 0.26 0% 9% 92% 9%
binary-trees  53.75  21 708,188 440 94.28 43% 48% 52% 34%
source secs N mem gz cpu cpu load
fannkuch-redux  2.90  10 31,040 471 0.63 17% 1% 49% 9%
fannkuch-redux  6.74  11 31,420 471 6.74 0% 1% 100% 0%
fannkuch-redux  92.61  12 31,420 471 92.58 0% 0% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 3.12  10 30,792 473 0.54 34% 9% 4% 36%
fannkuch-redux  #4 5.46  11 31,068 473 5.45 0% 2% 100% 0%
fannkuch-redux  #4 74.94  12 31,144 473 74.92 100% 0% 1% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 2.69  10 48,056 1316 1.15 49% 12% 22% 21%
fannkuch-redux  #2 2.16  11 52,924 1316 7.60 86% 88% 88% 91%
fannkuch-redux  #2 24.23  12 53,204 1316 96.04 99% 99% 99% 99%
source secs N mem gz cpu cpu load
fasta  3.40  250,000 53,868 809 1.28 54% 19% 9% 15%
fasta  9.20  2,500,000 122,900 809 10.04 12% 41% 34% 24%
fasta  73.15  25,000,000 678,844 809 83.09 37% 21% 27% 30%
source secs N mem gz cpu cpu load
fasta  #5 2.58  250,000 48,516 2047 0.83 55% 9% 11% 18%
fasta  #5 0.64  2,500,000 59,432 2047 1.68 65% 75% 59% 69%
fasta  #5 3.41  25,000,000 63,804 2047 9.86 74% 75% 81% 61%
source secs N mem gz cpu cpu load
fasta  #3 2.43  250,000 26,976 1128 0.24 10% 17% 44% 6%
fasta  #3 1.14  2,500,000 35,632 1128 1.14 0% 2% 100% 2%
fasta  #3 9.96  25,000,000 35,360 1128 10.00 0% 46% 55% 1%
source secs N mem gz cpu cpu load
fasta  #2 3.34  250,000 84,552 931 1.26 62% 3% 3% 19%
fasta  #2 6.62  2,500,000 112,196 931 7.42 27% 45% 26% 16%
fasta  #2 48.02  25,000,000 564,504 931 56.26 27% 29% 29% 33%
source secs N mem gz cpu cpu load
fasta  #4 2.98  250,000 30,876 1785 0.23 26% 28% 14% 14%
fasta  #4 1.06  2,500,000 33,232 1785 1.06 0% 3% 1% 99%
fasta  #4 9.17  25,000,000 37,236 1785 9.24 1% 2% 1% 100%
source secs N mem gz cpu cpu load
k-nucleotide  3.67  250,000 36,204 1008 2.08 26% 65% 66% 17%
k-nucleotide  6.97  2,500,000 388,188 1008 14.87 66% 66% 80% 93%
k-nucleotide  67.41  25,000,000 1,388,220 1008 137.96 67% 88% 65% 74%
source secs N mem gz cpu cpu load
k-nucleotide  #2 3.53  250,000 31,580 935 2.08 37% 66% 50% 24%
k-nucleotide  #2 6.29  2,500,000 466,112 935 13.73 96% 81% 72% 67%
k-nucleotide  #2 61.19  25,000,000 1,675,796 935 134.63 97% 78% 71% 73%
source secs N mem gz cpu cpu load
mandelbrot  #3 2.36  1,000 26,160 1122 0.53 49% 9% 7% 23%
mandelbrot  #3 0.59  4,000 55,160 1122 2.05 85% 88% 95% 84%
mandelbrot  #3 6.78  16,000 82,684 1122 26.65 98% 99% 98% 98%
source secs N mem gz cpu cpu load
mandelbrot  2.53  1,000 30,148 748 1.24 86% 15% 14% 18%
mandelbrot  1.29  4,000 290,012 748 4.46 93% 88% 84% 84%
mandelbrot  16.41  16,000 578,440 748 58.97 83% 85% 96% 96%
source secs N mem gz cpu cpu load
n-body  #4 2.48  500,000 34,112 1279 0.42 76% 0% 0% 7%
n-body  #4 3.26  5,000,000 33,556 1279 3.26 1% 100% 0% 0%
n-body  #4 27.76  50,000,000 33,784 1279 27.76 1% 0% 100% 1%
source secs N mem gz cpu cpu load
n-body  #5 2.41  500,000 34,056 1193 0.41 94% 0% 0% 5%
n-body  #5 2.83  5,000,000 33,084 1193 2.83 1% 0% 100% 0%
n-body  #5 27.55  50,000,000 33,716 1193 27.55 0% 0% 100% 1%
source secs N mem gz cpu cpu load
n-body  #2 2.69  500,000 34,260 1537 0.50 73% 3% 0% 12%
n-body  #2 3.65  5,000,000 32,632 1537 3.66 1% 100% 1% 1%
n-body  #2 35.86  50,000,000 33,536 1537 35.85 1% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #6 2.36  500,000 31,340 1268 0.39 55% 1% 1% 25%
n-body  #6 2.39  5,000,000 33,724 1268 2.40 1% 100% 0% 2%
n-body  #6 23.22  50,000,000 33,828 1268 23.22 1% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  2.73  500,000 30,532 1297 0.37 53% 2% 6% 18%
n-body  2.40  5,000,000 33,492 1297 2.40 1% 100% 0% 1%
n-body  23.27  50,000,000 33,668 1297 23.26 0% 100% 0% 1%
source secs N mem gz cpu cpu load
pidigits  #3 3.31  2,000 35,820 553 0.92 28% 54% 7% 11%
pidigits  #3 8.74  6,000 63,524 553 8.61 1% 100% 0% 1%
pidigits  #3 25.13  10,000 63,564 553 25.19 20% 36% 1% 44%
source secs N mem gz cpu cpu load
pidigits  #4 2.56  2,000 31,756 530 0.54 51% 1% 0% 15%
pidigits  #4 4.82  6,000 63,628 530 4.72 1% 25% 76% 1%
pidigits  #4 13.56  10,000 63,708 530 13.61 20% 0% 0% 81%
source secs N mem gz cpu cpu load
regex-redux  #3 2.23  50,000 25,664 668 0.22 92% 1% 0% 8%
regex-redux  #3 0.77  500,000 86,308 668 0.84 1% 3% 71% 41%
regex-redux  #3 9.98  5,000,000 819,516 668 11.98 8% 17% 42% 55%
source secs N mem gz cpu cpu load
regex-redux  2.85  50,000 25,524 408 0.16 67% 7% 4% 37%
regex-redux  0.98  500,000 89,204 408 0.88 1% 65% 1% 36%
regex-redux  10.73  5,000,000 608,876 408 11.20 11% 6% 2% 86%
source secs N mem gz cpu cpu load
regex-redux  #2 2.45  50,000 22,804 432 0.16 56% 2% 2% 18%
regex-redux  #2 0.95  500,000 95,428 432 0.87 1% 3% 99% 3%
regex-redux  #2 11.49  5,000,000 556,372 432 12.09 37% 11% 50% 10%
source secs N mem gz cpu cpu load
reverse-complement  #2 2.37  250,000 29,208 1221 0.22 18% 53% 32% 2%
reverse-complement  #2 23.32  100,000,000 707,036 1221 24.90 23% 37% 16% 32%
source secs N mem gz cpu cpu load
reverse-complement  #8 3.17  250,000 39,700 1307 0.91 50% 9% 9% 35%
reverse-complement  #8 4.72  100,000,000 1,098,408 1307 11.43 73% 61% 54% 60%
source secs N mem gz cpu cpu load
reverse-complement  #7 2.56  250,000 25,500 1103 0.22 59% 0% 1% 18%
reverse-complement  #7 16.58  100,000,000 705,144 1103 18.19 6% 26% 55% 24%
source secs N mem gz cpu cpu load
spectral-norm  #6 2.45  500 44,616 999 0.58 10% 57% 50% 10%
spectral-norm  #6 1.48  3,000 53,228 999 5.20 87% 91% 90% 89%
spectral-norm  #6 4.33  5,500 54,732 999 16.51 95% 97% 96% 96%
source secs N mem gz cpu cpu load
spectral-norm  #2 2.75  500 29,232 336 0.24 14% 49% 36% 14%
spectral-norm  #2 4.75  3,000 31,580 336 4.75 2% 2% 0% 100%
spectral-norm  #2 15.77  5,500 31,708 336 15.77 1% 0% 100% 1%
source secs N mem gz cpu cpu load
spectral-norm  #5 2.45  500 28,600 393 0.24 17% 0% 43% 22%
spectral-norm  #5 4.74  3,000 31,480 393 4.74 0% 1% 100% 0%
spectral-norm  #5 15.77  5,500 31,708 393 15.77 0% 0% 1% 100%
source secs N mem gz cpu cpu load
spectral-norm  #3 2.67  500 28,216 381 0.24 33% 25% 42% 6%
spectral-norm  #3 4.74  3,000 31,420 381 4.74 1% 0% 100% 1%
spectral-norm  #3 15.77  5,500 31,596 381 15.76 1% 0% 0% 100%
source secs N mem gz cpu cpu load
spectral-norm  2.85  500 27,380 319 0.26 29% 45% 14% 16%
spectral-norm  4.76  3,000 31,960 319 4.76 1% 100% 0% 2%
spectral-norm  15.78  5,500 32,716 319 15.78 0% 100% 1% 0%