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.48 659,196 448 95.21 59% 57% 47% 52%
Node js 45.41 663,104 440 95.93 43% 80% 45% 45%
regex-redux
source secs mem gz cpu cpu load
TypeScript 10.99 649,968 440 11.81 15% 7% 23% 64%
Node js 11.18 847,584 408 11.90 11% 9% 76% 12%
reverse-complement
source secs mem gz cpu cpu load
TypeScript 17.35 706,952 1141 18.72 47% 23% 10% 29%
Node js 17.37 708,968 1103 18.90 23% 24% 56% 7%
spectral-norm
source secs mem gz cpu cpu load
TypeScript 15.82 33,380 383 15.82 0% 100% 1% 0%
Node js 15.81 31,964 381 15.81 100% 1% 0% 0%
n-body
source secs mem gz cpu cpu load
TypeScript 27.22 32,840 1348 27.22 100% 1% 0% 0%
Node js 26.35 34,068 1297 26.35 100% 0% 0% 0%
fasta
source secs mem gz cpu cpu load
TypeScript 10.10 34,304 1229 10.11 2% 98% 1% 0%
Node js 9.28 37,104 1785 9.33 0% 100% 1% 0%
fannkuch-redux
source secs mem gz cpu cpu load
TypeScript 132.21 31,144 454 132.18 0% 1% 0% 100%
Node js 80.68 31,488 473 80.66 0% 57% 43% 0%
mandelbrot
source secs mem gz cpu cpu load
TypeScript 12.00 358,804 396 15.79 40% 35% 29% 28%
Node js 1.56 307,540 748 5.23 95% 78% 91% 73%
pidigits
source secs mem gz cpu cpu load
  No program contribute your program
Node js   Failed
k-nucleotide
source secs mem gz cpu cpu load
TypeScript   Failed
Node js 1.15 248,096 935 2.35 91% 60% 75% 69%
TypeScript

Version 2.8.3
node.js v10.0.0

Node js

v10.0.0