The Computer Language
Benchmarks Game

TypeScript programs versus Node.js

by benchmark task performance

fasta
source secs mem gz cpu cpu load
TypeScript 13.97 26,288 1205 13.96 1% 1% 1% 100%
Node.js 14.30 26,108 1101 14.29 1% 1% 0% 100%
reverse-complement
source secs mem gz cpu cpu load
TypeScript 3.91 280,244 1131 3.90 1% 0% 1% 100%
Node.js 3.92 280,384 1088 3.91 1% 1% 1% 100%
binary-trees
source secs mem gz cpu cpu load
TypeScript 49.08 492,848 475 49.00 0% 1% 1% 100%
Node.js 47.30 479,436 477 47.21 0% 1% 1% 100%
spectral-norm
source secs mem gz cpu cpu load
TypeScript 17.58 23,872 394 17.57 1% 1% 1% 100%
Node.js 15.79 24,392 413 15.78 0% 1% 0% 100%
n-body
source secs mem gz cpu cpu load
TypeScript 43.97 23,008 1348 43.96 1% 1% 1% 100%
Node.js 38.34 22,660 1297 38.32 1% 4% 1% 100%
fannkuch-redux
source secs mem gz cpu cpu load
TypeScript 132.04 22,428 454 132.00 1% 0% 1% 100%
Node.js 78.68 22,304 473 78.65 0% 1% 1% 100%
mandelbrot
source secs mem gz cpu cpu load
TypeScript 14.54 192,736 392 14.52 0% 1% 1% 100%
Node.js 8.01 240,216 778 7.98 1% 1% 1% 100%
pidigits
source secs mem gz cpu cpu load
  No program contribute your program
Node.js   Bad Output
k-nucleotide
source secs mem gz cpu cpu load
TypeScript   Failed
Node.js 2.91 181,936 904 2.08 0% 1% 1% 100%
TypeScript

Version 2.0.3
node.js v6.9.0

Node.js

v6.9.0