The Computer Language
Benchmarks Game

TypeScript programs versus Node.js

by benchmark task performance

reverse-complement
source secs mem gz cpu cpu load
TypeScript 3.67 245,580 1131 3.94 99% 3% 4% 3%
Node.js 3.68 245,496 1088 3.93 4% 4% 98% 2%
n-body
source secs mem gz cpu cpu load
TypeScript 27.91 27,960 1348 27.90 1% 0% 100% 1%
Node.js 27.82 28,208 1297 27.81 1% 0% 1% 100%
binary-trees
source secs mem gz cpu cpu load
TypeScript 56.22 890,440 470 57.12 70% 2% 2% 30%
Node.js 55.64 895,396 477 56.61 3% 52% 43% 5%
regex-redux
source secs mem gz cpu cpu load
TypeScript 4.20 650,072 610 4.20 1% 100% 2% 1%
Node.js 4.02 507,480 452 4.02 0% 1% 100% 0%
spectral-norm
source secs mem gz cpu cpu load
TypeScript 19.80 29,012 383 19.79 50% 50% 0% 1%
Node.js 15.77 28,804 425 15.77 1% 0% 1% 100%
fasta
source secs mem gz cpu cpu load
TypeScript 12.81 30,228 1205 12.82 1% 100% 0% 1%
Node.js 9.45 31,892 1745 9.46 1% 1% 1% 100%
k-nucleotide
source secs mem gz cpu cpu load
TypeScript 184.86 523,524 708 183.91 75% 2% 1% 24%
Node.js 60.73 2,095,052 904 151.74 96% 84% 84% 83%
fannkuch-redux
source secs mem gz cpu cpu load
TypeScript 998.49 26,788 445 998.22 34% 3% 35% 29%
Node.js 78.41 27,192 473 78.39 1% 1% 100% 1%
mandelbrot
source secs mem gz cpu cpu load
TypeScript 50.93 367,612 392 50.86 1% 33% 67% 1%
Node.js 1.47 271,816 778 4.77 85% 71% 92% 81%
pidigits
source secs mem gz cpu cpu load
  No program contribute your program
Node.js   Bad Output
TypeScript

Version 2.2.1
node.js v7.6.0

Node.js

v7.6.0