Copying the LayersThatShouldPushProperties set in TreeSynchronizer::PushLayerProperties is a hotspot |
|
Issue descriptionMemory allocation shows up as a hotspot during profiling. Consider ::swap semantics to avoid making a copy of the set, and clearing the set of layers that need updating. This would also allow removal of individual calls to remove layers from the LayersThatShouldPushProperties while pushing properties. |
|
►
Sign in to add a comment |
|
Comment 1 by vmiura@google.com
, Aug 31