-
Notifications
You must be signed in to change notification settings - Fork 29.7k
[benchmarks] disable partial repaint for multiple backdrop blur iOS macrobenchmarks. #137902
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
[benchmarks] disable partial repaint for multiple backdrop blur iOS macrobenchmarks. #137902
Conversation
|
This will allow flutter/engine#47688 to improve a benchmark |
|
Presumably, partial repaint has performance benefits in the rest of the benchmarks such that we'd still notice a drop in performance on introducing a bug even with it disabled on this one benchmark. If so, this sgtm. |
🤔 Let me double check that |
|
I've updated this PR so that partial repaint is only disabled for the backdrop blur case I want to measure. |
| } | ||
| Future<void> Function()? plistReset; | ||
| if (disablePartialRepaint) { | ||
| _disablePartialRepaint(testDirectory); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this throws, _resetManifest() won't be run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it won't matter in this case because you can't have disablePartialRepaint and forceOpenGLES both true at the same time, but it'd be nice to find a better pattern to follow here for when the third thing comes along...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the reset commands should always be safe to run. Let me re-arrange this a bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay re-arrangement concluded. We should always reset if we throw now.
…williams/flutter into disable_partial_repaint_microbench
…ur iOS macrobenchmarks. (flutter/flutter#137902)
…ur iOS macrobenchmarks. (flutter/flutter#137902)
…ur iOS macrobenchmarks. (flutter/flutter#137902)
flutter/flutter@f5a9835...5a6a322 2023-11-07 [email protected] Roll Packages from 49eac1f to be18d28 (3 revisions) (flutter/flutter#137999) 2023-11-07 [email protected] Roll Flutter Engine from b1f2581f05e3 to b91400976b4a (2 revisions) (flutter/flutter#138000) 2023-11-07 [email protected] Roll Flutter Engine from 633065f75b1c to b1f2581f05e3 (1 revision) (flutter/flutter#137997) 2023-11-07 [email protected] Roll Flutter Engine from 99149d59cb3d to 633065f75b1c (1 revision) (flutter/flutter#137996) 2023-11-07 [email protected] Roll Flutter Engine from 7f4d56a7f4f7 to 99149d59cb3d (1 revision) (flutter/flutter#137987) 2023-11-07 [email protected] Roll Flutter Engine from f9f822359f2b to 7f4d56a7f4f7 (1 revision) (flutter/flutter#137983) 2023-11-07 [email protected] Roll Flutter Engine from b1a5d772792f to f9f822359f2b (1 revision) (flutter/flutter#137980) 2023-11-07 [email protected] Roll Flutter Engine from 461d815b48a0 to b1a5d772792f (13 revisions) (flutter/flutter#137979) 2023-11-07 [email protected] Roll Flutter Engine from bdfa8aa8f81f to 461d815b48a0 (1 revision) (flutter/flutter#137944) 2023-11-06 [email protected] SemanticsHandle should dispatch creation and disposal events. (flutter/flutter#137960) 2023-11-06 [email protected] ScrollActivity should dispatch creation and disposal events. (flutter/flutter#137961) 2023-11-06 [email protected] Cover text_selection tests with leak tracking. (flutter/flutter#137009) 2023-11-06 [email protected] Roll pub packages (flutter/flutter#137862) 2023-11-06 [email protected] Migration for `HotEvent` for Flutter hot runner (flutter/flutter#137717) 2023-11-06 [email protected] [benchmarks] disable partial repaint for multiple backdrop blur iOS macrobenchmarks. (flutter/flutter#137902) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…ur iOS macrobenchmarks. (flutter/flutter#137902)
Partial repaint is too effective, and we'd like to be able to measure performance without carefully structuring the benchmarks. For example, right now partial repaint is culling any blurs in the multibackdrop case, which we should be using to track #132735