Dart Versus Julia benchmarks

Current benchmark data was generated on Sat Nov 27 2021, full log can be found HERE

CONTRIBUTIONS are WELCOME!

binarytrees

Input: 18

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 4.dart 836ms 6.1ms 167.0MB 1230ms 163ms dart 2.14.4
julia 4.jl 1534ms 0.9ms 246.8MB 1467ms 153ms julia 1.6.4

Input: 14

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 4.dart 65ms 7.5ms 52.3MB 53ms 20ms dart 2.14.4
julia 4.jl 656ms 4.6ms 246.4MB 583ms 153ms julia 1.6.4

coro-prime-sieve

Input: 1000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 1.dart 1380ms 8.5ms 211.3MB 1197ms 207ms dart 2.14.4

edigits

Input: 100000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 1.dart 1832ms 8.1ms 47.7MB 1793ms 27ms dart 2.14.4

fannkuch-redux

Input: 11

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
julia 2.jl 1734ms 9.4ms 207.4MB 2897ms 160ms julia 1.6.4
dart 2.dart 4470ms 2.7ms 12.0MB 4450ms 0ms dart 2.14.4

Input: 10

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 2.dart 362ms 6.7ms 14.0MB 343ms 0ms dart 2.14.4
julia 2.jl 635ms 10ms 206.4MB 800ms 130ms julia 1.6.4

fasta

Input: 2500000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 1.dart 503ms 9.6ms 22.2MB 460ms 10ms dart 2.14.4

Input: 250000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 1.dart 70ms 12ms 14.3MB 47ms 0ms dart 2.14.4
julia 7.jl 2432ms 326ms 233.5MB 1653ms 493ms julia 1.6.4

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 1.dart 8.4ms 2.3ms 14.0MB 0ms 0ms dart 2.14.4
julia 1.jl 179ms 1.9ms 148.5MB 98ms 72ms julia 1.6.4

http-server

Input: 3000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 1.dart 4020ms 6.0ms 106.4MB 1357ms 697ms dart 2.14.4

Input: 500

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 1.dart 1684ms 306ms 57.9MB 190ms 127ms dart 2.14.4

json-serde

Input: sample 5000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 1.dart 293ms 8.7ms 64.5MB 270ms 13ms dart 2.14.4

Input: canada 15

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 1.dart 2680ms 570ms 242.8MB 2353ms 157ms dart 2.14.4

mandelbrot

Input: 8000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 2.dart 4357ms 541ms 53.0MB 7193ms 20ms dart 2.14.4

Input: 1000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 2.dart 77ms 7.5ms 16.6MB 113ms 0ms dart 2.14.4

nbody

Input: 5000000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
julia 7.jl 884ms 0.6ms 219.3MB 840ms 130ms julia 1.6.4
dart 3.dart 1033ms 26ms 13.9MB 1017ms 0ms dart 2.14.4

Input: 500000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 3.dart 114ms 1.1ms 13.9MB 100ms 0ms dart 2.14.4
julia 7.jl 605ms 0.7ms 219.7MB 553ms 137ms julia 1.6.4

Input: 100000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 3.dart 32ms 8.2ms 14.0MB 23ms 0ms dart 2.14.4
julia 7.jl 580ms 7.9ms 219.6MB 520ms 147ms julia 1.6.4

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
julia 3.jl 951ms 68ms 174.9MB 683ms 177ms julia 1.6.4
julia 1.jl 1498ms 22ms 254.6MB 1313ms 237ms julia 1.6.4
dart 2.dart 2638ms 592ms 20.1MB 1920ms 53ms dart 2.14.4

Input: 4000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
julia 3.jl 426ms 25ms 172.2MB 303ms 140ms julia 1.6.4
julia 1.jl 835ms 19ms 255.0MB 700ms 203ms julia 1.6.4
dart 2.dart 1473ms 7.9ms 22.2MB 440ms 17ms dart 2.14.4

Input: 1000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 2.dart 40ms 0.9ms 22.2MB 23ms 3ms dart 2.14.4
julia 3.jl 274ms 16ms 172.3MB 203ms 123ms julia 1.6.4
julia 1.jl 469ms 7.2ms 254.7MB 393ms 160ms julia 1.6.4

spectral-norm

Input: 4000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
julia 2.jl 596ms 1.9ms 190.8MB 840ms 133ms julia 1.6.4
julia 3.jl 803ms 2.3ms 192.1MB 1193ms 133ms julia 1.6.4
dart 1.dart 1300ms 1.6ms 13.8MB 1287ms 0ms dart 2.14.4

Input: 1000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
dart 1.dart 92ms 6.1ms 12.3MB 77ms 0ms dart 2.14.4
julia 2.jl 386ms 1.5ms 189.3MB 430ms 143ms julia 1.6.4
julia 3.jl 433ms 3.6ms 192.5MB 467ms 137ms julia 1.6.4