The Computer Language
Benchmarks Game

TypeScript programs versus Node.js

by benchmark task performance

n-body
source secs mem gz cpu cpu load
TypeScript 27.71 31,576 1348 27.70 1% 0% 100% 0%
Node.js 28.74 32,016 1297 28.73 100% 0% 0% 1%
regex-redux
source secs mem gz cpu cpu load
TypeScript 4.36 601,632 610 4.36 1% 1% 1% 100%
Node.js 4.44 511,916 452 4.45 0% 87% 2% 14%
reverse-complement
source secs mem gz cpu cpu load
TypeScript 4.24 243,660 1131 4.50 29% 33% 3% 44%
Node.js 4.30 243,956 1088 4.63 5% 93% 7% 3%
binary-trees
source secs mem gz cpu cpu load
TypeScript 53.18 918,148 448 54.56 53% 12% 38% 2%
Node.js 53.64 918,808 440 55.05 68% 2% 5% 30%
spectral-norm
source secs mem gz cpu cpu load
TypeScript 16.18 32,360 383 16.18 100% 1% 1% 0%
Node.js 16.17 31,288 368 16.17 100% 1% 1% 0%
fannkuch-redux
source secs mem gz cpu cpu load
TypeScript 131.39 29,460 454 131.36 2% 100% 1% 0%
Node.js 81.49 29,880 473 81.46 100% 1% 1% 0%
fasta
source secs mem gz cpu cpu load
TypeScript 16.36 32,524 1205 16.35 98% 1% 3% 1%
Node.js 9.79 35,012 1745 9.81 1% 0% 1% 100%
mandelbrot
source secs mem gz cpu cpu load
TypeScript 9.90 415,264 392 10.16 61% 2% 40% 2%
Node.js 2.62 46,388 778 8.51 84% 90% 76% 78%
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 1.88 31,584 904 3.88 61% 58% 68% 98%
TypeScript

Version 2.5.2
node.js v8.4.0

Node.js

v8.4.0