Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upA lot of time spent in webrender::texture_cache::TextureCache::insert #1266
Comments
|
The profile linked above doesn't actually show the problem it's just a website that reproduces the problem. Most of the time is being inside TexturePage::coalesce |
|
Our |
bors-servo
added a commit
that referenced
this issue
May 22, 2017
Coalescing optimization Fixes #1266 (if it doesn't fix it yet, the PR would be a step in the right direction anyway) This PR removes indexing and dynamic allocations from `TexturePage::coalesce`, cleans up the code, adds a basic benchmark for it. Results on my machine - time dropped by about 25%. It's not super great, but I believe that real-world parameters have improved more, given that we are able to capture intermediate coalescing results now even when timed out. r? @glennw <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/1271) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see this stand out quite a bit in profiles of Firefox scrolling cnn.com and a huge amount scrolling https://perfht.ml/2qxbfmr.