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.41 96,952 1034 51.32 99% 79% 98% 81%
Node js 18.21 605,668 748 65.22 84% 82% 96% 97%
binary-trees
source secs mem gz cpu cpu load
TypeScript 22.77 1,036,544 947 74.77 81% 83% 84% 82%
Node js 23.87 355,268 431 39.40 36% 30% 72% 35%
regex-redux
source secs mem gz cpu cpu load
TypeScript 11.88 654,616 440 12.74 17% 53% 14% 25%
Node js 12.05 854,584 408 12.87 29% 47% 21% 12%
spectral-norm
source secs mem gz cpu cpu load
TypeScript 15.82 33,024 383 15.82 0% 100% 1% 0%
Node js 15.81 31,780 381 15.81 2% 100% 1% 2%
reverse-complement
source secs mem gz cpu cpu load
TypeScript 16.66 708,228 1141 18.15 13% 34% 47% 17%
Node js 16.61 708,876 1103 18.16 11% 54% 14% 31%
n-body
source secs mem gz cpu cpu load
TypeScript 27.11 32,768 1348 27.11 0% 100% 1% 0%
Node js 26.31 33,476 1297 26.30 0% 0% 1% 100%
fasta
source secs mem gz cpu cpu load
TypeScript 9.78 35,200 1229 9.78 0% 100% 0% 1%
Node js 9.15 37,052 1785 9.20 27% 0% 1% 74%
fannkuch-redux
source secs mem gz cpu cpu load
TypeScript 116.30 31,056 454 116.27 100% 0% 0% 1%
Node js 80.97 30,924 473 80.95 0% 100% 1% 0%
k-nucleotide
source secs mem gz cpu cpu load
TypeScript 166.54 447,696 719 167.50 33% 19% 40% 13%
Node js 64.56 1,819,728 935 137.90 69% 74% 92% 76%
pidigits
source secs mem gz cpu cpu load
  No program contribute your program
Node js   Bad Output
TypeScript

Version 3.3.1
-t ESNEXT node.js v11.9.0

Node js

v11.9.0