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.58 105,224 1034 51.86 80% 97% 97% 82%
Node js 18.04 612,540 748 64.71 98% 84% 97% 80%
binary-trees
source secs mem gz cpu cpu load
TypeScript 22.37 1,065,040 947 76.00 85% 85% 83% 88%
Node js 23.78 360,508 431 39.61 32% 46% 60% 30%
regex-redux
source secs mem gz cpu cpu load
TypeScript 11.47 659,204 440 12.42 48% 32% 9% 20%
Node js 11.85 884,848 408 12.70 71% 23% 12% 3%
reverse-complement
source secs mem gz cpu cpu load
TypeScript 16.70 712,544 1141 18.07 15% 20% 48% 31%
Node js 16.92 707,536 1103 18.45 19% 41% 5% 45%
spectral-norm
source secs mem gz cpu cpu load
TypeScript 15.81 33,080 383 15.81 100% 0% 0% 1%
Node js 15.80 31,296 381 15.80 1% 0% 0% 100%
n-body
source secs mem gz cpu cpu load
TypeScript 26.96 32,432 1348 26.96 3% 100% 7% 4%
Node js 26.35 33,228 1297 26.35 1% 0% 100% 0%
fasta
source secs mem gz cpu cpu load
TypeScript 9.92 34,404 1229 9.92 21% 11% 0% 69%
Node js 9.43 36,744 1785 9.48 93% 8% 0% 0%
fannkuch-redux
source secs mem gz cpu cpu load
TypeScript 116.49 30,892 454 116.47 1% 100% 0% 0%
Node js 80.78 31,176 473 80.76 0% 0% 1% 100%
k-nucleotide
source secs mem gz cpu cpu load
TypeScript 162.86 447,284 719 163.61 53% 1% 31% 16%
Node js 62.94 1,858,960 935 133.33 84% 76% 78% 70%
pidigits
source secs mem gz cpu cpu load
  No program contribute your program
Node js 1.88 ? 530 ? 3% 99% 1% 2%
TypeScript

Version 3.0.1
node.js v10.7.0

Node js

v10.7.0