dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.06k stars 1.56k forks source link

Investigate benchmarks from "The Computer Language Benchmarks Game" #40308

Open mkustermann opened 4 years ago

mkustermann commented 4 years ago

We should investigate the benchmarks with big JIT vs AOT differences from benchmarksgame as well as those benchmarks where Dart is slower than JavaScript/Java.

Tentatively assigning to @sstrickl for now.

lewisthoma5 commented 4 years ago

If you look at the implementation for dart vs js in the benchmarks game they are different algos most of the time , Im sure if you copy the node version dart should go toe to toe. Examples

Dart

Js

sjindel-google commented 4 years ago

Discussed offline with @sstrickl : Teagan has not started to investigate this, so I'll take a look.

mraleph commented 3 years ago

I have looked at the reverse complement and have written some new versions. With FFI we can get within 20% of C version (internal write up at go/dart-shootout-revcomp), though it requires some fixes in the compilation pipeline.