Skip to content
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

Add a GN flag to set the Dart VM's optimization level #43743

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

zanderso
Copy link
Member

And set the level to -Oz for iOS and Android.

@zanderso zanderso requested a review from dnfield July 17, 2023 19:02
@zanderso zanderso merged commit 77ec923 into flutter:main Jul 18, 2023
@zanderso zanderso deleted the dart-opt-level branch July 18, 2023 01:57
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 18, 2023
zanderso pushed a commit to flutter/flutter that referenced this pull request Jul 18, 2023
…130769)

flutter/engine@f2958f9...77ec923

2023-07-18 [email protected] Add a GN flag to set the
Dart VM's optimization level (flutter/engine#43743)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that
a human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
auto-submit bot pushed a commit that referenced this pull request Jul 18, 2023
Partial revert of #43743

Setting the optimization level to `-Oz` reduced compressed binary size by 200KB, but regressed performance by 10-15% across the board (frame build time, gen_snapshot runtime, hot reload time, etc.)
harryterkelsen pushed a commit to harryterkelsen/engine that referenced this pull request Jul 20, 2023
And set the level to `-Oz` for iOS and Android.
harryterkelsen pushed a commit to harryterkelsen/engine that referenced this pull request Jul 20, 2023
Partial revert of flutter#43743

Setting the optimization level to `-Oz` reduced compressed binary size by 200KB, but regressed performance by 10-15% across the board (frame build time, gen_snapshot runtime, hot reload time, etc.)
LouiseHsu pushed a commit to LouiseHsu/flutter that referenced this pull request Jul 31, 2023
…lutter#130769)

flutter/engine@f2958f9...77ec923

2023-07-18 [email protected] Add a GN flag to set the
Dart VM's optimization level (flutter/engine#43743)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that
a human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants