The Computer Language
Benchmarks Game

TypeScript programs versus Node.js

by benchmark task performance

binary-trees
source secs mem gz cpu cpu load
TypeScript 44.51 658,776 448 80.41 61% 39% 38% 44%
Node.js 45.39 658,324 440 81.91 37% 39% 59% 46%
regex-redux
source secs mem gz cpu cpu load
TypeScript 4.20 567,744 610 4.24 59% 2% 1% 41%
Node.js 4.22 596,420 432 4.24 100% 0% 0% 1%
reverse-complement
source secs mem gz cpu cpu load
TypeScript 4.13 243,592 1141 4.43 66% 2% 3% 37%
Node.js 4.14 243,736 1103 4.40 26% 21% 7% 53%
spectral-norm
source secs mem gz cpu cpu load
TypeScript 15.80 33,356 383 15.79 100% 1% 0% 0%
Node.js 15.79 31,900 381 15.79 100% 1% 0% 0%
n-body
source secs mem gz cpu cpu load
TypeScript 27.11 32,772 1348 27.11 100% 0% 1% 0%
Node.js 26.61 33,152 1297 26.61 100% 0% 0% 1%
fannkuch-redux
source secs mem gz cpu cpu load
TypeScript 139.53 31,248 454 139.51 0% 97% 4% 0%
Node.js 89.63 30,960 473 89.61 0% 100% 0% 1%
fasta
source secs mem gz cpu cpu load
TypeScript 15.95 34,000 1229 15.95 0% 74% 26% 1%
Node.js 9.80 34,804 1785 9.82 100% 1% 0% 0%
mandelbrot
source secs mem gz cpu cpu load
TypeScript 10.86 410,068 396 12.68 69% 8% 14% 27%
Node.js 1.46 293,760 748 4.98 86% 87% 81% 92%
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.16 250,036 935 2.18 86% 53% 90% 53%
TypeScript

Version 2.6.2
node.js v9.4.0

Node.js

v9.4.0