The Computer Language
Benchmarks Game

TypeScript programs versus Dart

by benchmark task performance

regex-redux
source secs mem gz cpu cpu load
TypeScript 4.07 733,524 610 4.10 1% 1% 100% 0%
Dart 29.93 460,276 656 32.08 27% 7% 39% 37%
reverse-complement
source secs mem gz cpu cpu load
TypeScript 3.75 244,960 1131 4.01 51% 5% 3% 52%
Dart 23.60 1,717,368 551 29.00 25% 22% 24% 54%
n-body
source secs mem gz cpu cpu load
TypeScript 27.94 29,572 1348 27.93 100% 2% 1% 0%
Dart 27.50 52,272 1420 27.64 1% 1% 0% 100%
spectral-norm
source secs mem gz cpu cpu load
TypeScript 19.49 30,540 383 19.48 100% 1% 0% 0%
Dart 15.92 51,380 457 16.04 1% 100% 1% 1%
binary-trees
source secs mem gz cpu cpu load
TypeScript 69.52 956,612 448 70.64 9% 58% 9% 27%
Dart 37.72 555,108 457 48.13 25% 22% 56% 26%
fasta
source secs mem gz cpu cpu load
TypeScript 18.38 32,044 1205 18.38 1% 1% 100% 0%
Dart 8.11 54,704 1386 8.20 1% 2% 98% 2%
fannkuch-redux
source secs mem gz cpu cpu load
TypeScript 1,204.93 28,516 454 1,204.62 1% 0% 100% 1%
Dart 91.24 50,668 495 91.60 36% 1% 0% 65%
mandelbrot
source secs mem gz cpu cpu load
TypeScript 53.82 395,912 392 53.67 2% 46% 41% 13%
Dart 1.65 75,952 901 4.11 43% 41% 82% 87%
pidigits
source secs mem gz cpu cpu load
  No program contribute your program
Dart 0.64 56,196 594 0.69 11% 25% 81% 22%
k-nucleotide
source secs mem gz cpu cpu load
TypeScript   Failed
Dart 0.74 97,960 2455 1.67 54% 57% 65% 56%
TypeScript

Version 2.4.1
node.js v8.1.3

Dart

Dart VM version: 1.24.2 (Thu Jun 22 08:43:26 2017) on "linux_x64"