The Computer Language
Benchmarks Game

Dart versus Node js fastest programs

Always look at the source code.

These are only the fastest programs. Look at the other programs. They may seem more-like a fair comparison to you.

n-body
source secs mem gz busy cpu load
Dart 8.44 124,928 1409 8.55 1% 98% 1% 1%
Node js 8.36 34,332 1268 8.37 0% 0% 0% 100%
regex-redux
source secs mem gz busy cpu load
Dart 4.89 883,948 1041 7.63 89% 22% 19% 25%
Node js 4.76 1,152,392 668 5.82 1% 1% 28% 91%
binary-trees
source secs mem gz busy cpu load
Dart 9.73 694,000 1349 32.52 86% 88% 80% 80%
Node js 7.34 1,262,364 744 22.41 75% 84% 72% 75%
k-nucleotide
source secs mem gz busy cpu load
Dart 23.32 526,360 1502 64.03 99% 88% 53% 34%
Node js 15.48 395,304 1812 42.72 77% 92% 61% 46%
fasta
source secs mem gz busy cpu load
Dart 5.42 159,148 1403 5.54 2% 1% 97% 1%
Node js 2.02 67,936 2047 6.27 78% 81% 75% 75%
pidigits
source secs mem gz busy cpu load
Dart 3.33 149,912 500 3.56 4% 19% 2% 81%
Node js 1.16 34,980 599 1.21 1% 1% 99% 3%
mandelbrot
source secs mem gz busy cpu load
Dart 11.92 228,252 911 31.89 97% 37% 36% 98%
Node js 4.03 89,888 1122 15.89 99% 98% 98% 99%
spectral-norm
source secs mem gz busy cpu load
Dart 5.53 123,976 462 5.74 97% 1% 3% 3%
Node js 1.84 61,080 999 6.15 84% 81% 86% 83%
fannkuch-redux
source secs mem gz busy cpu load
Dart 60.13 116,376 495 60.60 0% 1% 100% 0%
Node js 11.89 61,216 1313 45.33 96% 94% 96% 94%
reverse-complement
source secs mem gz busy cpu load
Dart 41.36 6,600,124 555 48.63 61% 20% 9% 27%
Node js 2.12 1,525,056 1481 4.38 48% 27% 70% 62%
Dart

Dart SDK version: 2.10.0 (stable) (Mon Sep 28 09:21:23 2020 +0200) on "linux_x64"

Node js

v15.2.1