New issue
Advanced search Search tips

Issue 725355 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Optimize Discardable image metadata generation.

Project Member Reported by khushals...@chromium.org, May 23 2017

Issue description

Generating discardable images performs a full walk on the DisplayItemList for each paint invalidation. This is expensive even for small invalidations and can be optimized to use the results from the image map in the previous list. A few possible optimizations:

1) Depending on the size of the invalidation, it might be better to avoid iterating the complete list to collect discardable images again. We could copy the list of images outside the invalidation from the previous map and only iterate the ops in the invalidated region to rebuild the tree.

2) If the invalidation does not result in any change to the images in the list, we can simply reuse the map from the previous list. This will probably require making the map refcounted and storing it on the RecordingSource instead.
 
Project Member

Comment 1 by sheriffbot@chromium.org, May 23 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)
Is this bug still relevant in the OOP world ? I can have a look, if it would be useful ?

Sign in to add a comment