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.1k stars 1.56k forks source link

Minimize performance hit from strong mode checks on microbenchmarks and flutter benchmarks #31798

Open mraleph opened 6 years ago

mraleph commented 6 years ago

This is a metabug to track design and implementation of necessary optimizations in the compilation pipeline.

mkustermann commented 6 years ago

@kmillikin Just fyi: We are working now on eliminating the cost of the checks in the VM and have already some very promising prototypes.

mkustermann commented 4 years ago

To give some update on this CL:

Multiple entrypoints were finally finished: ia32 in 8a39cb8f66b708073, arm64 in f1341643325d819, unoptimized code in 4d95ec1360d9ad

Exactness tracking is only implemented on x64. For completeness we might want to also port it to other architectures as well.

Right now there's no other work planned for this issue so I'm going to remove the P1 priority here.