Chromium Code Reviews
DescriptionRemove glyph metrics caching on non-Mac platforms
As shown in the benchmarking results discussed in crbug.com/631032
removing the glyph metrics caching in Blink on non Mac platforms and
only using the lower level Skia caches instead should not affect overall
layout and text performance negatively. In fact, some performance tests
such as html5-full-render and html-parser-threaded are improving in
local measurements on linux.
This should give us improvements in memory consumption ranging from
tens of kilobytes in a single-origin use renderer up to over a megabyte
on longer lifespan renderers such as in the Android WebView and help
with crbug.com/577306.
On Mac platforms we are still using path based glyph metrics, which seem
to be too slow. Here, the glyph metrics caching in Blink cannot yet be
removed, compare
https://bugs.chromium.org/p/chromium/issues/detail?id=608338#c9
BUG=589462, 631032
R=kojii,tzik,eae
Committed: https://crrev.com/3af81d9791986c5d47b261dda6f2a672e65ae313
Cr-Commit-Position: refs/heads/master@{#409564}
Patch Set 1 #
Messages
Total messages: 12 (6 generated)
|
|||||||||||||||||||