The Computer Language
Benchmarks Game

TypeScript programs versus Dart

by benchmark task performance

regex-redux
source secs mem gz cpu cpu load
TypeScript 4.10 595,456 610 4.12 0% 2% 99% 1%
Dart 31.14 469,064 656 33.15 6% 57% 1% 44%
reverse-complement
source secs mem gz cpu cpu load
TypeScript 3.69 244,248 1131 3.92 7% 48% 37% 18%
Dart 23.84 1,729,012 551 29.14 34% 59% 21% 11%
n-body
source secs mem gz cpu cpu load
TypeScript 27.90 28,008 1348 27.89 1% 1% 0% 100%
Dart 27.50 48,620 1420 27.69 0% 1% 1% 100%
spectral-norm
source secs mem gz cpu cpu load
TypeScript 18.74 32,956 383 18.73 1% 1% 0% 100%
Dart 15.91 48,096 457 16.00 99% 1% 2% 0%
binary-trees
source secs mem gz cpu cpu load
TypeScript 51.88 933,276 448 52.64 48% 17% 14% 26%
Dart 41.89 484,776 457 55.98 25% 61% 32% 17%
fasta
source secs mem gz cpu cpu load
TypeScript 12.50 30,016 1205 12.50 100% 1% 1% 0%
Dart 8.60 51,496 1386 8.66 67% 20% 1% 14%
k-nucleotide
source secs mem gz cpu cpu load
TypeScript 184.21 514,760 708 184.19 1% 99% 1% 1%
Dart 33.38 2,045,004 2455 90.84 70% 61% 58% 86%
fannkuch-redux
source secs mem gz cpu cpu load
TypeScript 999.34 26,300 445 999.05 100% 0% 1% 0%
Dart 91.58 46,956 495 92.14 1% 100% 1% 0%
mandelbrot
source secs mem gz cpu cpu load
TypeScript 51.62 374,328 392 51.54 0% 1% 72% 29%
Dart 1.62 75,488 901 4.09 36% 93% 37% 87%
pidigits
source secs mem gz cpu cpu load
  No program contribute your program
Dart   Failed
TypeScript

Version 2.2.9
node.js v7.9.0

Dart

Dart VM version: 1.22.1 (Tue Feb 21 14:27:26 2017) on "linux_x64"