The Computer Language
Benchmarks Game

TypeScript programs versus Dart

by benchmark task performance

regex-redux
source secs mem gz cpu cpu load
TypeScript 4.36 601,632 610 4.36 1% 1% 1% 100%
Dart 29.93 460,276 656 32.08 27% 7% 39% 37%
reverse-complement
source secs mem gz cpu cpu load
TypeScript 4.24 243,660 1131 4.50 29% 33% 3% 44%
Dart 23.60 1,717,368 551 29.00 25% 22% 24% 54%
n-body
source secs mem gz cpu cpu load
TypeScript 27.71 31,576 1348 27.70 1% 0% 100% 0%
Dart 27.50 52,272 1420 27.64 1% 1% 0% 100%
spectral-norm
source secs mem gz cpu cpu load
TypeScript 16.18 32,360 383 16.18 100% 1% 1% 0%
Dart 15.92 51,380 457 16.04 1% 100% 1% 1%
binary-trees
source secs mem gz cpu cpu load
TypeScript 53.18 918,148 448 54.56 53% 12% 38% 2%
Dart 37.72 555,108 457 48.13 25% 22% 56% 26%
fannkuch-redux
source secs mem gz cpu cpu load
TypeScript 131.39 29,460 454 131.36 2% 100% 1% 0%
Dart 91.24 50,668 495 91.60 36% 1% 0% 65%
fasta
source secs mem gz cpu cpu load
TypeScript 16.36 32,524 1205 16.35 98% 1% 3% 1%
Dart 8.11 54,704 1386 8.20 1% 2% 98% 2%
mandelbrot
source secs mem gz cpu cpu load
TypeScript 9.90 415,264 392 10.16 61% 2% 40% 2%
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.5.2
node.js v8.4.0

Dart

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