All Dart benchmarks

Current benchmark data was generated on Fri Jul 01 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz (Model 85)

* -m in a file name stands for multi-threading or multi-processing

* -i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)

* -ffi in a file name stands for non-stdlib FFI usage

* (You may find time < time(user) + time(sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)

binarytrees

Input: 18

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 1471ms 10ms 85.8MB 1453ms 43ms dart/exe 2.17.5

Input: 15

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 140ms 1.7ms 48.9MB 113ms 17ms dart/exe 2.17.5

coro-prime-sieve

Input: 4000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart timeout 0.0ms 0.0MB 0ms 0ms dart/exe 2.17.5

Input: 1000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 1577ms 9.5ms 226.8MB 1450ms 207ms dart/exe 2.17.5

edigits

Input: 250001

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart timeout 0.0ms 0.0MB 0ms 0ms dart/exe 2.17.5

Input: 100000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 2239ms 3.7ms 44.4MB 2187ms 33ms dart/exe 2.17.5

fannkuch-redux

Input: 11

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2.dart timeout 0.0ms 0.0MB 0ms 0ms dart/exe 2.17.5

Input: 10

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2.dart 448ms 5.3ms 14.1MB 437ms 0ms dart/exe 2.17.5

fasta

Input: 2500000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 583ms 6.0ms 19.9MB 563ms 3ms dart/exe 2.17.5

Input: 250000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 68ms 0.7ms 14.0MB 60ms 0ms dart/exe 2.17.5

helloworld

Input: QwQ

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 8.9ms 1.1ms 13.6MB 0ms 0ms dart/exe 2.17.5

http-server

Input: 3000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 4096ms 42ms 107.4MB 1607ms 753ms dart/exe 2.17.5

Input: 500

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 2569ms 495ms 55.5MB 233ms 153ms dart/exe 2.17.5

json-serde

Input: sample 5000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 349ms 2.5ms 59.5MB 330ms 17ms dart/exe 2.17.5

Input: canada 15

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 3131ms 593ms 280.4MB 2860ms 190ms dart/exe 2.17.5

knucleotide

Input: 2500000_in

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
3-m.dart 3575ms 87ms 239.7MB 6063ms 133ms dart/exe 2.17.5

Input: 250000_in

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
3-m.dart 572ms 3.8ms 193.5MB 883ms 97ms dart/exe 2.17.5

lru

Input: 1000 1000000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2.dart 282ms 4.2ms 43.0MB 253ms 20ms dart/exe 2.17.5
1.dart 1363ms 21ms 44.8MB 1320ms 23ms dart/exe 2.17.5

Input: 1000 3000000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2.dart 778ms 0.5ms 45.3MB 747ms 17ms dart/exe 2.17.5
1.dart 3992ms 26ms 46.6MB 3963ms 10ms dart/exe 2.17.5

Input: 100 500000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2.dart 129ms 1.7ms 20.5MB 107ms 7ms dart/exe 2.17.5
1.dart 240ms 2.5ms 44.2MB 213ms 10ms dart/exe 2.17.5

merkletrees

Input: 17

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 686ms 7.7ms 69.3MB 660ms 40ms dart/exe 2.17.5

Input: 15

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 171ms 3.6ms 51.2MB 147ms 13ms dart/exe 2.17.5

nbody

Input: 5000000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
3.dart 753ms 2.4ms 11.0MB 740ms 3ms dart/exe 2.17.5

Input: 500000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
3.dart 85ms 1.3ms 11.0MB 70ms 0ms dart/exe 2.17.5

pidigits

Input: 8000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2.dart 2233ms 27ms 22.0MB 2227ms 53ms dart/exe 2.17.5

Input: 4000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2.dart 528ms 2.8ms 20.2MB 517ms 10ms dart/exe 2.17.5

spectral-norm

Input: 8000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart timeout 0.0ms 0.0MB 0ms 0ms dart/exe 2.17.5

Input: 4000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 1479ms 5.5ms 11.9MB 1467ms 0ms dart/exe 2.17.5

Input: 2000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.dart 382ms 7.8ms 13.6MB 367ms 3ms dart/exe 2.17.5