Bug 192284 - EditorState code triggers additional layer flushes
Summary: EditorState code triggers additional layer flushes
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2018-12-01 20:58 PST by Simon Fraser (smfr)
Modified: 2018-12-01 23:00 PST (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2018-12-01 20:58:47 PST
There are two code paths that trigger compositing layer flushes that would otherwise not happen; this may cause extra painting, which has a perf cost.

They are WebPage::sendPartialEditorStateAndSchedulePostLayoutUpdate() and WebPage::sendEditorStateUpdate(). I see these get called when running this Speedometer subtest: