The Computer Language
Benchmarks Game

TypeScript programs versus Node.js

by benchmark task performance

regex-redux
source secs mem gz cpu cpu load
TypeScript 4.10 595,456 610 4.12 0% 2% 99% 1%
Node.js 4.15 448,996 452 4.15 42% 58% 1% 0%
reverse-complement
source secs mem gz cpu cpu load
TypeScript 3.69 244,248 1131 3.92 7% 48% 37% 18%
Node.js 3.72 244,156 1088 3.99 1% 8% 3% 98%
n-body
source secs mem gz cpu cpu load
TypeScript 27.90 28,008 1348 27.89 1% 1% 0% 100%
Node.js 27.76 27,704 1297 27.76 100% 0% 1% 1%
binary-trees
source secs mem gz cpu cpu load
TypeScript 51.88 933,276 448 52.64 48% 17% 14% 26%
Node.js 51.21 931,768 440 51.98 57% 10% 30% 5%
spectral-norm
source secs mem gz cpu cpu load
TypeScript 18.74 32,956 383 18.73 1% 1% 0% 100%
Node.js 15.77 28,192 368 15.76 0% 1% 100% 0%
fasta
source secs mem gz cpu cpu load
TypeScript 12.50 30,016 1205 12.50 100% 1% 1% 0%
Node.js 9.39 31,212 1745 9.40 100% 1% 1% 0%
k-nucleotide
source secs mem gz cpu cpu load
TypeScript 184.21 514,760 708 184.19 1% 99% 1% 1%
Node.js 62.09 2,089,424 904 152.72 82% 85% 95% 82%
fannkuch-redux
source secs mem gz cpu cpu load
TypeScript 999.34 26,300 445 999.05 100% 0% 1% 0%
Node.js 78.16 26,632 473 78.13 100% 2% 3% 2%
mandelbrot
source secs mem gz cpu cpu load
TypeScript 51.62 374,328 392 51.54 0% 1% 72% 29%
Node.js 1.44 261,256 778 4.85 92% 85% 80% 85%
pidigits
source secs mem gz cpu cpu load
  No program contribute your program
Node.js   Bad Output
TypeScript

Version 2.2.9
node.js v7.9.0

Node.js

v7.9.0