The Computer Language
Benchmarks Game

all Node.js programs & measurements

v9.4.0

source secs N mem gz cpu cpu load
binary-trees  0.10  7 ? 440 0.09 9% 0% 13% 82%
binary-trees  0.24  14 924 440 0.25 50% 4% 4% 64%
binary-trees  45.39  21 658,324 440 81.91 37% 39% 59% 46%
source secs N mem gz cpu cpu load
fannkuch-redux  0.70  10 30,924 471 0.70 4% 0% 1% 100%
fannkuch-redux  9.69  11 30,712 471 9.69 1% 1% 100% 2%
fannkuch-redux  109.14  12 31,028 471 109.12 100% 0% 0% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.66  10 30,660 473 0.66 2% 0% 0% 100%
fannkuch-redux  #4 6.53  11 30,712 473 6.53 1% 0% 0% 100%
fannkuch-redux  #4 89.63  12 30,960 473 89.61 0% 100% 0% 1%
source secs N mem gz cpu cpu load
fasta  1.39  250,000 52,148 809 1.44 0% 37% 66% 2%
fasta  10.73  2,500,000 134,348 809 11.14 16% 42% 35% 13%
fasta  83.12  25,000,000 797,988 809 88.25 18% 29% 25% 35%
source secs N mem gz cpu cpu load
fasta  #3 0.24  250,000 952 1128 0.24 100% 0% 8% 0%
fasta  #3 1.23  2,500,000 33,592 1128 1.23 0% 2% 99% 1%
fasta  #3 10.74  25,000,000 34,596 1128 10.74 10% 0% 0% 90%
source secs N mem gz cpu cpu load
fasta  #2 1.11  250,000 69,928 931 1.22 6% 97% 3% 5%
fasta  #2 6.97  2,500,000 120,404 931 7.36 56% 3% 3% 46%
fasta  #2 47.15  25,000,000 652,684 931 50.80 14% 29% 48% 17%
source secs N mem gz cpu cpu load
fasta  #4 0.22  250,000 956 1785 0.22 0% 0% 95% 0%
fasta  #4 1.12  2,500,000 32,864 1785 1.12 100% 0% 0% 2%
fasta  #4 9.80  25,000,000 34,804 1785 9.82 100% 1% 0% 0%
source secs N mem gz cpu cpu load
k-nucleotide  1.25  250,000 238,556 1008 2.24 75% 54% 48% 87%
k-nucleotide  7.14  2,500,000 488,884 1008 15.25 77% 81% 76% 71%
k-nucleotide  69.42  25,000,000 1,843,020 1008 144.14 86% 69% 78% 67%
source secs N mem gz cpu cpu load
k-nucleotide  #2 1.16  250,000 250,036 935 2.18 86% 53% 90% 53%
k-nucleotide  #2 6.48  2,500,000 479,864 935 14.37 70% 96% 71% 82%
k-nucleotide  #2 61.24  25,000,000 1,739,992 935 137.09 80% 75% 95% 71%
source secs N mem gz cpu cpu load
mandelbrot  0.45  1,000 222,460 748 1.35 98% 75% 66% 73%
mandelbrot  1.46  4,000 293,760 748 4.98 86% 87% 81% 92%
mandelbrot  17.72  16,000 613,608 748 63.70 85% 94% 99% 83%
source secs N mem gz cpu cpu load
n-body  #4 0.42  500,000 32,312 1279 0.42 0% 100% 3% 0%
n-body  #4 3.26  5,000,000 32,428 1279 3.26 0% 100% 1% 0%
n-body  #4 31.69  50,000,000 32,632 1279 31.69 1% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #5 0.41  500,000 960 1193 0.41 100% 0% 2% 5%
n-body  #5 3.02  5,000,000 32,980 1193 3.02 100% 1% 1% 1%
n-body  #5 29.09  50,000,000 32,948 1193 29.09 100% 0% 0% 1%
source secs N mem gz cpu cpu load
n-body  #2 0.51  500,000 32,672 1537 0.51 2% 100% 2% 2%
n-body  #2 4.30  5,000,000 32,528 1537 4.31 0% 100% 1% 1%
n-body  #2 39.54  50,000,000 32,584 1537 39.54 100% 0% 0% 0%
source secs N mem gz cpu cpu load
n-body  0.39  500,000 960 1297 0.40 0% 100% 5% 0%
n-body  2.76  5,000,000 33,276 1297 2.77 0% 0% 100% 1%
n-body  26.61  50,000,000 33,152 1297 26.61 100% 0% 0% 1%
pidigits  #2 Bad Output  2,000
source secs N mem gz cpu cpu load
regex-redux  0.16  50,000 ? 408 0.13 0% 0% 0% 100%
regex-redux  0.59  500,000 44,380 408 0.49 0% 2% 100% 2%
regex-redux  4.30  5,000,000 652,092 408 4.30 0% 2% 99% 0%
source secs N mem gz cpu cpu load
regex-redux  #2 0.13  50,000 ? 432 0.13 100% 7% 0% 0%
regex-redux  #2 0.49  500,000 44,796 432 0.49 2% 100% 4% 0%
regex-redux  #2 4.22  5,000,000 596,420 432 4.24 100% 0% 0% 1%
source secs N mem gz cpu cpu load
reverse-complement  #2 1.55  250,000 ? 1221 ? 14% 19% 6% 3%
reverse-complement  #2 24.06  100,000,000 706,548 1221 25.14 8% 49% 26% 24%
source secs N mem gz cpu cpu load
reverse-complement  #7 1.51  250,000 ? 1103 ? 7% 97% 3% 3%
reverse-complement  #7 16.66  100,000,000 706,256 1103 17.71 71% 51% 40% 48%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.23  500 940 336 0.23 5% 8% 96% 4%
spectral-norm  #2 4.77  3,000 31,040 336 4.77 0% 100% 0% 0%
spectral-norm  #2 15.79  5,500 31,908 336 15.79 100% 0% 0% 0%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.23  500 952 393 0.23 8% 0% 4% 100%
spectral-norm  #5 4.77  3,000 31,092 393 4.77 0% 1% 100% 0%
spectral-norm  #5 15.79  5,500 31,952 393 15.79 100% 0% 1% 0%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.23  500 920 381 0.23 100% 0% 0% 0%
spectral-norm  #3 4.77  3,000 31,068 381 4.77 0% 100% 1% 0%
spectral-norm  #3 15.79  5,500 31,900 381 15.79 100% 1% 0% 0%
source secs N mem gz cpu cpu load
spectral-norm  0.24  500 936 319 0.24 100% 4% 4% 4%
spectral-norm  4.78  3,000 32,356 319 4.78 0% 100% 0% 0%
spectral-norm  15.80  5,500 33,412 319 15.80 100% 1% 1% 0%