Skip to content

Conversation

@aam
Copy link
Member

@aam aam commented Jul 6, 2022

This allows for faster bootstrapping of the compiler from the previously created dill file.

Recently added benchmark debug_compile_after_edit_millis will track the improvement.

Fixes #107183

This allows for faster bootstrapping of the compiler from previously created dill file.

Fixes flutter#107183
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

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.

@flutter-dashboard flutter-dashboard bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Jul 6, 2022
@aam aam requested a review from jonahwilliams July 7, 2022 15:15
Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aam aam merged commit b1410c2 into flutter:master Jul 7, 2022
@aam aam deleted the incremental-build-mode branch July 7, 2022 16:31
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 8, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jul 8, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jul 8, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jul 8, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jul 8, 2022
@zanderso
Copy link
Member

zanderso commented Jul 8, 2022

SkiaPerf isn't reporting any changes to debug_compile_after_edit_millis, but there are some small improvements to other compilation benchmarks:

https://flutter-flutter-perf.skia.org/e/?begin=1657178945&end=1657222180&keys=Xdb9ac938989518c2aaab21af7c17b739&num_commits=50&request_type=1&xbaroffset=29745

@aam
Copy link
Member Author

aam commented Jul 8, 2022

I think I looked at https://flutter-flutter-perf.skia.org/e/?keys=X0f98c584e08529729191ceafb3d77338 which showed ~30% performance improvement for that benchmark
image

engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jul 9, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jul 9, 2022
camsim99 pushed a commit to camsim99/flutter that referenced this pull request Aug 10, 2022
* Ensure build is done in incremental mode.

This allows for faster bootstrapping of the compiler from previously created dill file.

Fixes flutter#107183

* Avoid initializeFromDill in aot mode

* Update tests
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 30, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restarting the app with flutter run after making some changes to the source is quite slow.

3 participants