The Computer Language
Benchmarks Game

all Node js programs & measurements

v16.8.0

source secs N mem gz cpu cpu load
binary-trees  #7 1.41  7 31,096 451 0.11 11% 6% 0% 60%
binary-trees  #7 0.12  14 37,396 451 0.13 8% 92% 8% 58%
binary-trees  #7 32.69  21 1,347,080 451 37.73 18% 42% 30% 26%
source secs N mem gz cpu cpu load
binary-trees  1.36  7 46,000 711 0.30 19% 16% 6% 41%
binary-trees  0.36  14 87,268 711 0.67 41% 40% 63% 43%
binary-trees  11.40  21 1,048,328 711 33.66 72% 73% 73% 72%
source secs N mem gz cpu cpu load
binary-trees  #6 1.32  7 42,964 744 0.24 15% 2% 8% 65%
binary-trees  #6 0.35  14 77,548 744 0.61 43% 65% 34% 36%
binary-trees  #6 7.20  21 1,282,116 744 20.37 83% 70% 68% 63%
source secs N mem gz cpu cpu load
fannkuch-redux  #5 1.70  10 64,564 1313 0.85 29% 14% 24% 20%
fannkuch-redux  #5 1.20  11 65,480 1313 3.99 80% 79% 83% 87%
fannkuch-redux  #5 11.38  12 65,452 1313 44.96 99% 99% 99% 99%
source secs N mem gz cpu cpu load
fasta  #5 1.62  250,000 68,828 2047 0.84 10% 23% 28% 16%
fasta  #5 0.42  2,500,000 69,200 2047 1.25 77% 68% 71% 88%
fasta  #5 1.91  25,000,000 72,004 2047 6.18 81% 88% 78% 78%
source secs N mem gz cpu cpu load
fasta  2.05  250,000 39,136 809 0.83 10% 40% 5% 12%
fasta  4.96  2,500,000 37,404 809 5.16 1% 1% 1% 99%
fasta  36.02  25,000,000 44,164 809 37.00 99% 1% 1% 0%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.77  250,000 118,208 1812 1.07 14% 24% 23% 62%
k-nucleotide  #3 1.92  2,500,000 148,968 1812 5.20 55% 51% 93% 75%
k-nucleotide  #3 15.82  25,000,000 396,716 1812 44.40 63% 47% 81% 90%
source secs N mem gz cpu cpu load
k-nucleotide  #2 1.91  250,000 33,496 935 1.25 24% 53% 22% 31%
k-nucleotide  #2 4.04  2,500,000 46,692 935 8.38 65% 64% 78% 97%
k-nucleotide  #2 37.46  25,000,000 1,901,440 935 78.98 66% 97% 79% 66%
source secs N mem gz cpu cpu load
k-nucleotide  2.02  250,000 39,416 1008 1.26 20% 43% 22% 29%
k-nucleotide  4.50  2,500,000 64,960 1008 8.83 60% 75% 59% 94%
k-nucleotide  40.20  25,000,000 1,603,676 1008 82.45 63% 70% 76% 85%
source secs N mem gz cpu cpu load
mandelbrot  #3 1.99  1,000 66,572 1122 0.58 12% 14% 32% 31%
mandelbrot  #3 0.39  4,000 65,096 1122 1.32 79% 85% 82% 95%
mandelbrot  #3 4.04  16,000 95,888 1122 15.89 100% 98% 98% 99%
source secs N mem gz cpu cpu load
n-body  #6 1.53  500,000 35,888 1268 0.25 3% 5% 9% 55%
n-body  #6 0.92  5,000,000 35,780 1268 0.92 8% 1% 99% 6%
n-body  #6 8.60  50,000,000 36,000 1268 8.60 100% 2% 0% 1%
source secs N mem gz cpu cpu load
pidigits  #3 1.53  2,000 38,540 553 0.28 1% 0% 29% 5%
pidigits  #3 1.87  6,000 67,328 553 1.72 2% 3% 0% 100%
pidigits  #3 4.64  10,000 67,448 553 4.69 1% 0% 100% 0%
source secs N mem gz cpu cpu load
pidigits  #5 1.68  2,000 33,464 599 0.27 27% 1% 11% 4%
pidigits  #5 0.56  6,000 36,756 599 0.57 100% 2% 0% 6%
pidigits  #5 1.31  10,000 36,792 599 1.32 1% 0% 99% 2%
source secs N mem gz cpu cpu load
pidigits  #4 1.42  2,000 38,532 530 0.26 21% 3% 1% 59%
pidigits  #4 1.65  6,000 67,208 530 1.60 1% 1% 96% 2%
pidigits  #4 4.32  10,000 67,296 530 4.36 0% 100% 0% 0%
source secs N mem gz cpu cpu load
regex-redux  #4 1.37  50,000 38,732 463 0.18 4% 20% 1% 56%
regex-redux  #4 0.61  500,000 125,636 463 0.57 7% 87% 0% 3%
regex-redux  #4 5.68  5,000,000 638,336 463 5.79 99% 4% 2% 1%
source secs N mem gz cpu cpu load
regex-redux  #3 1.60  50,000 40,108 668 0.24 17% 2% 22% 14%
regex-redux  #3 0.66  500,000 164,468 668 0.72 3% 37% 76% 3%
regex-redux  #3 4.82  5,000,000 1,150,424 668 5.86 10% 82% 1% 29%
source secs N mem gz cpu cpu load
reverse-complement  #7 1.78  250,000 53,868 1480 0.57 14% 8% 17% 28%
reverse-complement  #7 2.21  100,000,000 1,534,824 1480 4.62 53% 22% 65% 68%
source secs N mem gz cpu cpu load
reverse-complement  #2 1.67  250,000 37,348 1221 0.25 0% 24% 2% 41%
reverse-complement  #2 16.30  100,000,000 708,344 1221 16.88 67% 13% 23% 2%
source secs N mem gz cpu cpu load
spectral-norm  1.46  500 35,272 319 0.20 19% 1% 1% 60%
spectral-norm  1.67  3,000 36,056 319 1.67 99% 1% 0% 1%
spectral-norm  5.46  5,500 34,508 319 5.46 100% 0% 0% 0%
source secs N mem gz cpu cpu load
spectral-norm  #6 1.53  500 65,508 999 0.52 11% 11% 13% 91%
spectral-norm  #6 0.65  3,000 66,624 999 2.09 78% 78% 85% 81%
spectral-norm  #6 1.64  5,500 67,912 999 6.10 92% 93% 96% 92%
source secs N mem gz cpu cpu load
spectral-norm  #7 1.46  500 35,320 414 0.19 3% 17% 1% 57%
spectral-norm  #7 1.65  3,000 34,376 414 1.65 2% 1% 1% 99%
spectral-norm  #7 5.38  5,500 34,432 414 5.38 0% 0% 100% 0%