The Computer Language
24.11 Benchmarks Game

Dart versus Dart jit fastest performance

How the programs are written matters! Always look at the source code.

If the fastest programs are * hand-written vector instructions, does the host language matter? You might be more interested in the less optimised programs — more seconds, less gz source code.

fannkuch-redux
source secs mem gz cpu secs
Dart jit #3 39.92 157,820 553 40.27
Dart #3 40.88 19,620 553 40.88
Dart jit #5 11.56 163,636 1227 44.26
Dart #5 12.55 19,620 1227 49.81
Dart jit #2 57.09 157,312 510 57.43
Dart #2 57.81 19,620 510 57.80
Dart jit #8 59.49 157,576 508 59.83
Dart #8 70.09 19,620 508 70.09
n-body
source secs mem gz cpu secs
Dart #6 6.97 19,712 1318 6.97
Dart #8 7.49 19,712 1268 7.49
Dart jit #6 7.48 158,560 1318 7.83
Dart jit #8 7.89 160,444 1268 8.25
Dart #2 8.91 19,712 1273 8.91
Dart #3 11.08 19,712 1413 11.08
Dart jit #2 11.30 161,008 1273 11.66
Dart jit #3 11.71 162,164 1413 12.07
spectral-norm
source secs mem gz cpu secs
Dart 5.33 19,724 468 5.33
Dart #6 1.45 19,724 1202 5.70
Dart jit 5.86 158,636 468 6.23
Dart jit #6 2.04 163,304 1202 6.69
Dart #8 10.88 19,436 422 10.88
Dart jit #8 11.47 159,272 422 11.82
Dart #2 3.26 23,772 1173 12.61
Dart jit #2 3.98 194,588 1173 13.92
mandelbrot
source secs mem gz cpu secs
Dart #3 15.64 19,712 620 15.64
Dart #4 4.19 71,752 988 16.29
Dart jit #3 16.09 162,656 620 16.46
Dart jit #4 4.83 214,244 988 17.56
Dart #2 29.86 19,712 494 29.85
Dart #6 11.87 80,176 914 31.84
Dart jit #2 32.06 162,484 494 32.41
Dart jit #6 12.36 219,652 914 32.59
Dart 137.97 19,712 462 137.92
Dart jit #8 139.15 162,404 471 139.54
Dart jit 140.85 160,320 462 141.23
Dart #8 202.26 19,492 471 202.28
fasta
source secs mem gz cpu secs
Dart #3 4.17 490,192 1114 4.18
Dart #4 4.19 403,212 1307 4.30
Dart 4.44 19,620 1407 4.44
Dart #5 3.07 403,208 1489 4.90
Dart jit 5.55 163,288 1407 5.92
Dart jit #3 5.77 518,912 1114 6.17
Dart jit #4 5.74 548,972 1307 6.23
Dart jit #5 4.45 550,720 1489 7.11
Dart #2 14.46 19,620 1075 14.46
Dart jit #2 15.73 161,048 1075 16.12
Dart #8 36.03 19,780 824 36.09
Dart jit #8 38.54 162,000 824 38.97
k-nucleotide
source secs mem gz cpu secs
Dart jit #3 18.69 365,984 1526 46.33
Dart #3 18.50 221,428 1526 55.76
Dart 551.78 464,108 628 551.97
Dart #8 555.11 524,768 676 555.57
Dart jit 554.94 592,760 628 555.59
Dart jit #8 555.51 655,860 676 556.45
reverse-complement
source secs mem gz cpu secs
Dart jit #8 6.76 1,150,464 651 8.03
Dart jit #5 5.19 2,143,992 942 8.74
Dart #5 8.95 1,994,744 942 12.12
Dart #8 19.05 1,001,004 651 20.03
Dart jit #3 46.98 6,561,244 571 52.25
Dart #3 58.10 6,394,552 571 64.47
Dart jit #2 66.14 6,563,508 575 72.24
Dart #2 91.20 6,406,136 575 99.37
Dart #4   Bad Output  
Dart jit #4   Bad Output  
binary-trees
source secs mem gz cpu secs
Dart #6 11.70 445,528 488 15.84
Dart #8 14.10 432,452 536 18.56
Dart jit #6 14.09 680,540 488 19.87
Dart jit #8 16.73 617,444 536 22.86
Dart #4 11.56 562,668 1394 24.55
Dart #7 10.93 674,712 869 24.84
Dart #5 12.60 474,784 1023 28.93
Dart jit #4 13.50 5,265,184 1394 31.88
Dart jit #7 14.17 5,456,576 869 34.17
Dart jit #5 16.78 4,753,460 1023 41.34
Dart #3 21.25 5,400,800 1219 53.12
Dart jit #3 21.81 5,984,460 1219 54.63
pidigits
source secs mem gz cpu secs
Dart #2 2.85 19,780 496 2.89
Dart #3 3.23 19,780 495 3.27
Dart jit #2 3.39 160,800 496 3.82
Dart jit #3 3.86 161,924 495 4.30
regex-redux
source secs mem gz cpu secs
Dart jit #4 5.87 662,924 513 6.48
Dart jit #5 4.45 729,664 710 6.68
Dart jit #3 5.59 723,376 1061 7.45
Dart jit #2 6.67 678,760 667 7.75
Dart #4 13.48 472,972 513 13.62
Dart #5 8.62 521,032 710 13.85
Dart #3 9.96 563,160 1061 17.39
Dart #2 17.14 515,328 667 17.70
Dart

Dart SDK version: 3.5.4 (stable)
Wed Oct 16 16:18:51 2024

Dart jit

Dart SDK version: 3.5.4 (stable)
Wed Oct 16 16:18:51 2024