The Computer Language
Benchmarks Game

all Node js programs & measurements

v16.3.0

source secs N mem gz cpu cpu load
binary-trees  #7 1.18  7 31,140 451 0.10 13% 1% 3% 55%
binary-trees  #7 0.12  14 35,988 451 0.13 8% 25% 8% 93%
binary-trees  #7 32.84  21 1,344,420 451 37.77 31% 30% 29% 25%
source secs N mem gz cpu cpu load
binary-trees  1.19  7 48,148 711 0.31 8% 6% 8% 92%
binary-trees  0.31  14 85,580 711 0.66 72% 56% 58% 48%
binary-trees  11.85  21 1,085,704 711 34.97 73% 73% 73% 73%
source secs N mem gz cpu cpu load
binary-trees  #6 1.27  7 41,164 744 0.28 12% 26% 12% 0%
binary-trees  #6 0.31  14 77,828 744 0.59 42% 45% 74% 50%
binary-trees  #6 7.52  21 1,343,968 744 22.40 73% 70% 85% 69%
source secs N mem gz cpu cpu load
fannkuch-redux  #5 1.43  10 62,728 1313 0.83 15% 27% 19% 62%
fannkuch-redux  #5 1.26  11 64,704 1313 4.17 84% 79% 87% 77%
fannkuch-redux  #5 11.60  12 64,024 1313 45.86 99% 99% 99% 99%
source secs N mem gz cpu cpu load
fasta  #5 1.40  250,000 65,484 2047 0.85 26% 15% 27% 20%
fasta  #5 0.43  2,500,000 68,968 2047 1.26 71% 66% 76% 83%
fasta  #5 1.89  25,000,000 71,820 2047 6.14 79% 79% 81% 85%
source secs N mem gz cpu cpu load
fasta  1.83  250,000 37,468 809 0.81 18% 48% 2% 16%
fasta  5.12  2,500,000 37,968 809 5.32 2% 99% 1% 2%
fasta  37.19  25,000,000 44,064 809 38.16 43% 1% 49% 9%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.66  250,000 119,176 1812 1.12 21% 25% 35% 23%
k-nucleotide  #3 1.96  2,500,000 148,752 1812 5.23 67% 56% 91% 58%
k-nucleotide  #3 15.68  25,000,000 397,548 1812 44.14 82% 95% 44% 62%
source secs N mem gz cpu cpu load
k-nucleotide  #2 1.84  250,000 34,676 935 1.28 26% 26% 51% 37%
k-nucleotide  #2 4.04  2,500,000 45,408 935 8.40 63% 67% 96% 79%
k-nucleotide  #2 37.48  25,000,000 1,883,688 935 80.18 68% 97% 67% 79%
source secs N mem gz cpu cpu load
k-nucleotide  1.83  250,000 40,284 1008 1.34 25% 22% 52% 33%
k-nucleotide  4.28  2,500,000 76,420 1008 8.80 61% 65% 82% 92%
k-nucleotide  40.14  25,000,000 1,922,984 1008 82.57 60% 96% 75% 64%
source secs N mem gz cpu cpu load
mandelbrot  #3 1.39  1,000 57,268 1122 0.52 13% 14% 13% 93%
mandelbrot  #3 0.38  4,000 64,652 1122 1.31 84% 86% 95% 84%
mandelbrot  #3 4.03  16,000 95,448 1122 15.89 99% 98% 99% 100%
source secs N mem gz cpu cpu load
n-body  #6 1.37  500,000 36,044 1268 0.24 3% 2% 1% 96%
n-body  #6 0.94  5,000,000 36,040 1268 0.95 99% 1% 1% 0%
n-body  #6 8.63  50,000,000 36,136 1268 8.63 0% 0% 100% 0%
source secs N mem gz cpu cpu load
pidigits  #3 1.65  2,000 38,528 553 0.60 4% 3% 52% 2%
pidigits  #3 4.67  6,000 67,620 553 4.61 1% 0% 0% 100%
pidigits  #3 13.12  10,000 67,744 553 13.16 0% 1% 100% 0%
source secs N mem gz cpu cpu load
pidigits  #5 1.67  2,000 33,760 599 0.24 3% 4% 1% 98%
pidigits  #5 0.55  6,000 36,800 599 0.55 98% 2% 2% 4%
pidigits  #5 1.29  10,000 37,068 599 1.30 1% 100% 2% 2%
source secs N mem gz cpu cpu load
pidigits  #4 1.30  2,000 38,516 530 0.35 1% 14% 28% 5%
pidigits  #4 2.27  6,000 67,580 530 2.21 0% 2% 1% 100%
pidigits  #4 6.14  10,000 67,700 530 6.18 1% 100% 0% 1%
source secs N mem gz cpu cpu load
regex-redux  #4 1.20  50,000 32,236 463 0.17 3% 3% 0% 95%
regex-redux  #4 0.59  500,000 127,840 463 0.54 90% 5% 2% 4%
regex-redux  #4 5.46  5,000,000 638,868 463 5.56 1% 1% 1% 99%
source secs N mem gz cpu cpu load
regex-redux  #3 1.49  50,000 40,432 668 0.26 22% 1% 11% 30%
regex-redux  #3 0.64  500,000 155,292 668 0.71 6% 39% 75% 5%
regex-redux  #3 4.64  5,000,000 1,163,148 668 5.68 3% 14% 30% 79%
source secs N mem gz cpu cpu load
reverse-complement  #7 1.57  250,000 51,936 1480 0.54 25% 2% 14% 25%
reverse-complement  #7 2.17  100,000,000 1,535,512 1480 4.48 62% 53% 56% 42%
source secs N mem gz cpu cpu load
reverse-complement  #2 1.29  250,000 37,548 1221 0.23 2% 23% 7% 44%
reverse-complement  #2 15.97  100,000,000 707,324 1221 16.54 52% 50% 1% 2%
source secs N mem gz cpu cpu load
spectral-norm  1.31  500 35,344 319 0.19 17% 23% 3% 6%
spectral-norm  1.67  3,000 34,436 319 1.67 100% 1% 0% 0%
spectral-norm  5.46  5,500 34,876 319 5.46 100% 2% 1% 1%
source secs N mem gz cpu cpu load
spectral-norm  #6 1.46  500 64,732 999 0.51 10% 19% 9% 47%
spectral-norm  #6 0.63  3,000 65,344 999 2.08 81% 81% 82% 87%
spectral-norm  #6 1.64  5,500 67,584 999 6.10 92% 92% 93% 95%
source secs N mem gz cpu cpu load
spectral-norm  #7 1.33  500 35,372 414 0.19 22% 0% 5% 57%
spectral-norm  #7 1.64  3,000 34,460 414 1.64 1% 1% 0% 100%
spectral-norm  #7 5.38  5,500 34,516 414 5.38 2% 100% 0% 0%