RESOLVED FIXED 129074
[UI-Side Compositing] 6% of main thread time spent copying LayerProperties when adding to hash table
https://bugs.webkit.org/show_bug.cgi?id=129074
Summary [UI-Side Compositing] 6% of main thread time spent copying LayerProperties wh...
Simon Fraser (smfr)
Reported 2014-02-19 16:38:38 PST
[UI-Side Compositing] 6% of main thread time spent copying LayerProperties when adding to hash table
Attachments
Patch (30.12 KB, patch)
2014-02-19 16:41 PST, Simon Fraser (smfr)
thorton: review+
Simon Fraser (smfr)
Comment 1 2014-02-19 16:39:13 PST
Simon Fraser (smfr)
Comment 2 2014-02-19 16:41:41 PST
Tim Horton
Comment 3 2014-02-19 16:49:05 PST
Comment on attachment 224691 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=224691&action=review > Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.mm:214 > if (changedProperties & BackingStoreChanged) { > - encoder << backingStore.hasFrontBuffer(); > - if (backingStore.hasFrontBuffer()) > - encoder << backingStore; > + encoder << backingStore->hasFrontBuffer(); > + if (backingStore->hasFrontBuffer()) > + encoder << *backingStore; > } What if BackingStoreChanged because it went away?? I guess we'll still have one, it'll just be one that doesn't paint.
Simon Fraser (smfr)
Comment 4 2014-02-19 17:58:45 PST
Ryosuke Niwa
Comment 5 2014-02-21 00:05:44 PST
Tim Horton
Comment 6 2014-02-21 00:07:33 PST
(In reply to comment #5) > Looks like this was ~1.5% performance improvement on DoYouEvenBench: > https://perf.webkit.org/#mode=charts&chartList=%5B%5B%22mac-mavericks%22%2C%22DoYouEvenBench%2FFull%3ATime%3ATotal%22%5D%5D That would be a bit concerning, as this code isn't used at all on Mac at the moment.
Ryosuke Niwa
Comment 7 2014-02-21 00:46:37 PST
(In reply to comment #6) > (In reply to comment #5) > > Looks like this was ~1.5% performance improvement on DoYouEvenBench: > > https://perf.webkit.org/#mode=charts&chartList=%5B%5B%22mac-mavericks%22%2C%22DoYouEvenBench%2FFull%3ATime%3ATotal%22%5D%5D > > That would be a bit concerning, as this code isn't used at all on Mac at the moment. Okay. It's probably http://trac.webkit.org/changeset/164401 then.
Note You need to log in before you can comment on or make changes to this bug.