The Computer Language
Benchmarks Game

all TypeScript programs & measurements

Version 2.6.2
node.js v9.4.0

source secs N mem gz cpu cpu load
binary-trees  #2 0.09  7 ? 448 0.09 0% 20% 0% 100%
binary-trees  #2 0.23  14 960 448 0.26 8% 62% 50% 5%
binary-trees  #2 44.51  21 658,776 448 80.41 61% 39% 38% 44%
source secs N mem gz cpu cpu load
binary-trees  0.09  7 ? 451 0.09 0% 0% 100% 0%
binary-trees  0.23  14 936 451 0.26 4% 96% 14% 4%
binary-trees  44.57  21 658,672 451 80.40 46% 35% 43% 57%
source secs N mem gz cpu cpu load
fannkuch-redux  0.98  10 31,248 445 0.98 0% 100% 3% 0%
fannkuch-redux  11.01  11 30,924 445 11.00 100% 0% 1% 0%
fannkuch-redux  147.23  12 31,044 445 147.21 100% 0% 1% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.94  10 31,168 454 0.93 0% 1% 99% 1%
fannkuch-redux  #2 10.47  11 30,920 454 10.46 100% 1% 1% 0%
fannkuch-redux  #2 139.53  12 31,248 454 139.51 0% 97% 4% 0%
source secs N mem gz cpu cpu load
fasta  0.25  250,000 952 1229 0.25 0% 4% 96% 0%
fasta  1.71  2,500,000 33,240 1229 1.71 100% 2% 1% 1%
fasta  15.95  25,000,000 34,000 1229 15.95 0% 74% 26% 1%
k-nucleotide  Failed  250,000
source secs N mem gz cpu cpu load
mandelbrot  1.70  1,000 59,100 396 1.75 6% 30% 1% 68%
mandelbrot  10.86  4,000 410,068 396 12.68 69% 8% 14% 27%
mandelbrot  Timed Out  16,000
source secs N mem gz cpu cpu load
n-body  #2 1.16  500,000 33,624 1453 1.18 99% 1% 0% 1%
n-body  #2 10.55  5,000,000 34,396 1453 10.70 0% 57% 44% 2%
n-body  #2 109.33  50,000,000 45,784 1453 111.19 2% 51% 48% 2%
source secs N mem gz cpu cpu load
n-body  #3 0.37  500,000 932 1348 0.37 0% 97% 5% 0%
n-body  #3 2.81  5,000,000 32,500 1348 2.81 1% 2% 100% 0%
n-body  #3 27.11  50,000,000 32,772 1348 27.11 100% 0% 1% 0%
source secs N mem gz cpu cpu load
n-body  0.98  500,000 33,796 1462 0.99 100% 0% 0% 8%
n-body  8.70  5,000,000 34,076 1462 8.73 0% 99% 3% 0%
n-body  85.81  50,000,000 48,864 1462 86.16 12% 37% 49% 3%
source secs N mem gz cpu cpu load
regex-redux  #2 0.16  50,000 ? 440 0.13 0% 100% 0% 0%
regex-redux  #2 0.58  500,000 44,744 440 0.49 0% 93% 11% 0%
regex-redux  #2 4.30  5,000,000 683,748 440 4.30 37% 1% 44% 20%
source secs N mem gz cpu cpu load
regex-redux  #3 0.13  50,000 ? 610 0.13 0% 0% 93% 0%
regex-redux  #3 0.50  500,000 64,368 610 0.49 0% 2% 100% 0%
regex-redux  #3 4.20  5,000,000 567,744 610 4.24 59% 2% 1% 41%
source secs N mem gz cpu cpu load
regex-redux  0.13  50,000 ? 440 0.13 0% 0% 100% 0%
regex-redux  0.50  500,000 44,524 440 0.49 0% 4% 98% 0%
regex-redux  4.31  5,000,000 683,648 440 4.31 7% 2% 5% 89%
source secs N mem gz cpu cpu load
reverse-complement  0.24  250,000 956 1141 0.19 0% 26% 83% 0%
reverse-complement  16.30  100,000,000 706,532 1141 17.35 59% 20% 23% 5%
source secs N mem gz cpu cpu load
spectral-norm  0.24  500 944 383 0.24 0% 100% 4% 0%
spectral-norm  4.78  3,000 33,012 383 4.78 0% 100% 1% 0%
spectral-norm  15.80  5,500 33,356 383 15.79 100% 1% 0% 0%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.59  500 32,796 385 0.60 0% 100% 3% 0%
spectral-norm  #2 17.71  3,000 34,072 385 17.72 25% 1% 1% 75%
spectral-norm  #2 59.35  5,500 40,196 385 59.43 22% 1% 3% 76%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.31  500 964 394 0.31 100% 0% 0% 6%
spectral-norm  #3 4.78  3,000 31,548 394 4.78 100% 0% 1% 0%
spectral-norm  #3 15.81  5,500 32,436 394 15.80 100% 0% 1% 0%