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.11 567,076 766 4.13 57% 43% 6% 0%
Node.js 4.23 594,916 432 4.25 78% 1% 0% 24%
binary-trees
source secs mem gz cpu cpu load
TypeScript 44.87 657,788 591 81.58 36% 40% 66% 41%
Node.js 45.67 657,468 440 81.85 45% 39% 39% 58%
reverse-complement
source secs mem gz cpu cpu load
TypeScript 4.11 242,780 1484 4.39 2% 23% 82% 2%
Node.js 4.18 241,932 1103 4.44 2% 47% 58% 2%
spectral-norm
source secs mem gz cpu cpu load
TypeScript 15.80 32,596 499 15.80 89% 1% 1% 12%
Node.js 15.79 31,352 381 15.79 100% 0% 0% 0%
n-body
source secs mem gz cpu cpu load
TypeScript 27.07 32,028 1510 27.07 0% 0% 0% 100%
Node.js 26.61 32,608 1297 26.61 0% 0% 1% 100%
fannkuch-redux
source secs mem gz cpu cpu load
TypeScript 140.76 30,404 626 140.73 35% 2% 1% 65%
Node.js 89.85 30,216 473 89.83 100% 1% 0% 0%
fasta
source secs mem gz cpu cpu load
TypeScript 16.20 32,972 1429 16.20 3% 97% 1% 0%
Node.js 9.80 34,704 1785 9.83 66% 1% 0% 34%
mandelbrot
source secs mem gz cpu cpu load
TypeScript 11.82 409,360 549 13.53 13% 38% 58% 7%
Node.js 1.45 279,356 748 4.94 98% 73% 89% 81%
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.20 243,276 935 2.30 83% 54% 58% 89%
TypeScript

Version 2.6.1
node.js v9.0.0

Node.js

v9.0.0