-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Use "run --resident" for flutter-dev. #153905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This makes subsequent runs much faster by allowing to skip compilation to Kernel.
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group. |
|
Nice, this is exciting, nice job to you and your team for this feature as well! |
This makes subsequent runs much faster by allowing to skip compilation to Kernel at the cost of introducing a bit of spam into the output when it starts resident compiler for the first time. Seems like a fine trade-off for dev-mode command. ```console $ time flutter-dev -h ... ________________________________________________________ Executed in 5.32 secs fish external usr time 438.69 millis 0.09 millis 438.60 millis sys time 111.91 millis 2.42 millis 109.48 millis $ time flutter-dev -h ... ________________________________________________________ Executed in 579.14 millis fish external usr time 433.87 millis 0.08 millis 433.79 millis sys time 109.27 millis 2.57 millis 106.70 millis ```
This makes subsequent runs much faster by allowing to skip compilation to Kernel at the cost of introducing a bit of spam into the output when it starts resident compiler for the first time. Seems like a fine trade-off for dev-mode command.