The Computer Language
Benchmarks Game

TypeScript versus Node js fastest programs

by faster benchmark performance

mandelbrot
source secs mem gz cpu cpu load
TypeScript 14.52 95,048 1034 51.65 82% 93% 98% 84%
Node js 18.18 632,008 748 65.32 88% 94% 95% 83%
binary-trees
source secs mem gz cpu cpu load
TypeScript 22.71 1,047,928 947 74.98 83% 86% 83% 80%
Node js 23.78 346,456 431 39.43 46% 35% 28% 58%
regex-redux
source secs mem gz cpu cpu load
TypeScript 11.59 669,264 440 12.43 24% 20% 53% 12%
Node js 11.98 849,192 408 12.82 17% 37% 3% 52%
spectral-norm
source secs mem gz cpu cpu load
TypeScript 15.82 33,496 383 15.82 1% 0% 0% 100%
Node js 15.81 31,788 381 15.80 0% 1% 100% 0%
reverse-complement
source secs mem gz cpu cpu load
TypeScript 16.83 708,268 1141 18.35 25% 24% 6% 55%
Node js 16.41 709,792 1103 17.86 34% 8% 38% 29%
n-body
source secs mem gz cpu cpu load
TypeScript 27.12 33,128 1348 27.12 0% 0% 100% 0%
Node js 26.28 33,292 1297 26.28 0% 0% 100% 0%
fasta
source secs mem gz cpu cpu load
TypeScript 9.79 35,264 1229 9.80 30% 17% 5% 49%
Node js 9.24 36,192 1785 9.28 0% 0% 1% 100%
fannkuch-redux
source secs mem gz cpu cpu load
TypeScript 116.25 31,180 454 116.22 0% 1% 0% 100%
Node js 80.72 30,912 473 80.70 49% 0% 1% 51%
k-nucleotide
source secs mem gz cpu cpu load
TypeScript 165.71 444,804 719 166.46 41% 9% 11% 41%
Node js 64.78 1,822,300 935 137.52 95% 70% 78% 69%
pidigits
source secs mem gz cpu cpu load
  No program contribute your program
Node js 2.35 ? 530 ? 1% 67% 37% 0%
TypeScript

Version 3.2.1
-t ESNEXT node.js v11.3.0

Node js

v11.3.0