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

99th_percentile_frame_rasterizer_time_millis regression on engine roll... #72750

Closed
kf6gpe opened this issue Dec 21, 2020 · 7 comments
Closed
Labels
c: performance Relates to speed or footprint issues (see "perf:" labels) c: regression It was better in the past than it is now dependency: skia Skia team may need to help us engine flutter/engine repository. See also e: labels. P0 Critical issues such as a build break or regression perf: speed Performance issues related to (mostly rendering) speed team: benchmark Performance issues found by inspecting benchmarks

Comments

@kf6gpe
Copy link
Contributor

kf6gpe commented Dec 21, 2020

https://flutter-flutter-perf.skia.org/e/?begin=1608245265&end=1608571746&keys=Xf5c75aaa34c194d39513caee2051940e&num_commits=50&request_type=1&xbaroffset=22916

194711e

/cc @zanderso This week's engine sheriff.

@kf6gpe kf6gpe added c: regression It was better in the past than it is now engine flutter/engine repository. See also e: labels. c: performance Relates to speed or footprint issues (see "perf:" labels) perf: speed Performance issues related to (mostly rendering) speed team: benchmark Performance issues found by inspecting benchmarks P0 Critical issues such as a build break or regression labels Dec 21, 2020
@zanderso
Copy link
Member

Comparing before/after that engine roll, I'm not able to reproduce this locally on my Nexus 5x. The benchmark appears bimodal, occasionally having a ~5-10% larger 99th %-ile frame rasterization. @CareF for advice.

@CareF
Copy link
Contributor

CareF commented Dec 21, 2020

multi_widget_construction_perf__e2e_summary test is designed to rebuild many widgets in the widget tree for every frame. The original motivation is to observe the cost of rebuilding the widget tree, but as a side effect there are many GCs during the test. If the larger number of the bimodal distribution comes from some random peaks in rasterize time/build time, this may be the issue.
Previously we also see bimodal behavior #68620 where the app becomes slower as the test runs: this may be because of device thermal issue.

@jason-simmons
Copy link
Member

I can reproduce this on a Moto G4 and bisected it to google/skia@1d89532.

Not sure why that change would affect the rasterizer metrics in this benchmark.

@kf6gpe
Copy link
Contributor Author

kf6gpe commented Jan 5, 2021

@herbderby, this looks like something you committed --- any thoughts? Thanks!

@kf6gpe kf6gpe added the dependency: skia Skia team may need to help us label Jan 5, 2021
@herbderby
Copy link

This would be very surprising. Looking at the trace, you don't have much history. The trace starts on Dec 16th, and this was flagged on Dec 18th. I suspect you are measuring something environmental, and not the code change.

@chinmaygarde
Copy link
Member

Thanks for the clarification. Let's re-baseline and move on.

@github-actions
Copy link

github-actions bot commented Aug 7, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: performance Relates to speed or footprint issues (see "perf:" labels) c: regression It was better in the past than it is now dependency: skia Skia team may need to help us engine flutter/engine repository. See also e: labels. P0 Critical issues such as a build break or regression perf: speed Performance issues related to (mostly rendering) speed team: benchmark Performance issues found by inspecting benchmarks
Projects
None yet
Development

No branches or pull requests

7 participants