Closed
Description
"pub run" is currently very slow when running local executables. We should do what we can to mitigate this, including:
* Precompiling immutable transformers to snapshots on "pub get"
- Precompiling immutable dependencies to source
- Lazily load assets from untransformed dependencies
- Don't load transformers at all if we can prove that they won't be used
- Stop rewriting package imports (blocked on issue dart:isolate spawnUri should have a customizable package root #12474)
- Load files directly rather than over HTTP (blocked on issue Control how an isolate resolves imports #16368)