The Computer Language
Benchmarks Game

TypeScript programs versus Dart

by benchmark task performance

regex-dna
source secs mem gz cpu cpu load
TypeScript 2.60 472,172 433 2.61 1% 0% 100% 3%
Dart 27.89 353,224 648 29.83 48% 7% 7% 49%
reverse-complement
source secs mem gz cpu cpu load
TypeScript 3.67 245,580 1131 3.94 99% 3% 4% 3%
Dart 22.98 1,728,640 551 28.28 18% 17% 23% 68%
n-body
source secs mem gz cpu cpu load
TypeScript 27.91 27,960 1348 27.90 1% 0% 100% 1%
Dart 27.51 49,836 1420 27.69 1% 1% 100% 1%
spectral-norm
source secs mem gz cpu cpu load
TypeScript 19.80 29,012 383 19.79 50% 50% 0% 1%
Dart 15.92 49,920 457 16.04 1% 3% 2% 100%
fasta
source secs mem gz cpu cpu load
TypeScript 12.81 30,228 1205 12.82 1% 100% 0% 1%
Dart 8.59 51,984 1386 8.67 4% 2% 87% 11%
binary-trees
source secs mem gz cpu cpu load
TypeScript 56.22 890,440 470 57.12 70% 2% 2% 30%
Dart 36.49 356,988 503 45.11 38% 43% 24% 21%
k-nucleotide
source secs mem gz cpu cpu load
TypeScript 184.86 523,524 708 183.91 75% 2% 1% 24%
Dart 33.37 2,075,756 2455 91.46 83% 78% 59% 55%
fannkuch-redux
source secs mem gz cpu cpu load
TypeScript 998.49 26,788 445 998.22 34% 3% 35% 29%
Dart 91.63 48,584 495 92.20 1% 1% 100% 1%
mandelbrot
source secs mem gz cpu cpu load
TypeScript 50.93 367,612 392 50.86 1% 33% 67% 1%
Dart 1.61 70,548 901 4.08 89% 41% 43% 86%
pidigits
source secs mem gz cpu cpu load
  No program contribute your program
Dart 0.65 51,784 594 0.67 73% 14% 29% 9%
TypeScript

Version 2.2.1
node.js v7.6.0

Dart

Dart VM version: 1.22.0 (Mon Feb 13 17:43:03 2017) on "linux_x64"