The Computer Language
Benchmarks Game

Dart versus Node js fastest programs

Always look at the source code.

These are only the fastest programs. Do some of them use manually vectorized SIMD? 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 7.30 10,352 1311 7.89 100% 0% 4% 4%
Node js 8.60 36,000 1268 8.85 100% 2% 0% 1%
spectral-norm
source secs mem gz busy cpu load
Dart 1.48 25,380 1196 5.72 97% 97% 97% 95%
Node js 1.64 67,912 999 6.11 92% 93% 96% 92%
k-nucleotide
source secs mem gz busy cpu load
Dart 16.66 326,548 1520 49.39 77% 71% 73% 75%
Node js 15.82 396,716 1812 44.48 63% 47% 81% 90%
fannkuch-redux
source secs mem gz busy cpu load
Dart 12.70 15,288 1220 50.67 100% 100% 100% 100%
Node js 11.38 65,452 1313 45.00 99% 99% 99% 99%
binary-trees
source secs mem gz busy cpu load
Dart 9.90 539,308 863 30.78 83% 74% 70% 85%
Node js 7.20 1,282,116 744 20.39 83% 70% 68% 63%
mandelbrot
source secs mem gz busy cpu load
Dart 8.72 57,164 957 33.81 95% 100% 99% 95%
Node js 4.04 95,888 1122 15.91 100% 98% 98% 99%
fasta
source secs mem gz busy cpu load
Dart 4.42 329,104 1485 8.08 1% 74% 99% 8%
Node js 1.91 72,004 2047 6.18 81% 88% 78% 78%
pidigits
source secs mem gz busy cpu load
Dart 3.14 43,200 500 3.19 1% 0% 99% 1%
Node js 1.31 36,792 599 1.33 1% 0% 99% 2%
regex-redux
source secs mem gz busy cpu load
Dart 12.09 757,260 1055 21.97 32% 86% 26% 37%
Node js 4.82 1,150,424 668 5.90 10% 82% 1% 29%
reverse-complement
source secs mem gz busy cpu load
Dart 8.58 2,509,484 933 11.80 25% 70% 29% 14%
Node js 2.21 1,534,824 1480 4.62 53% 22% 65% 68%
Dart

Dart SDK version: 2.13.1 (stable) (Fri May 21 12:45:36 2021 +0200) on "linux_x64"

Node js

v16.8.0