Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@flar
Copy link
Contributor

@flar flar commented Nov 11, 2021

Fixes flutter/flutter#92289

This PR adds one event around all 3 cache sweeps, but this could be broken down into 3 events, one for each cache. Would developers understand the difference and care?

Would they be confused with a nearly empty event for SkPicture cache when the default is DisplayList and vice versa? That could be moot if I do one event around the layer cache and another around both of the Skp/DL caches so all they see are 2 events.

Or is one event like coded here better?

@flar flar requested review from chinmaygarde and dnfield November 11, 2021 18:43
@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.

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.

@flar flar added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Nov 11, 2021
@fluttergithubbot fluttergithubbot merged commit ce849c1 into flutter:master Nov 11, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 11, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes needs tests waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a timeline trace event for RasterCache sweeps

3 participants