-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
flutter/engine
#30804Closed
Copy link
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)e: web_htmlHTML rendering backend for WebHTML rendering backend for Webengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-webWeb applications specificallyWeb applications specifically
Description
When using the HTML renderer, if a picture contains just text and nothing else, the renderer creates a bitmap canvas and renders the text into it. That's overkill. We should just use a <p> tag. This was discovered in an internal (for which we don't seem to have a label). In the app, this generates extra 10ms of compositing activity in the browser executed on the main thread, blocking frames.
zambetpentru and TimWhiting
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)e: web_htmlHTML rendering backend for WebHTML rendering backend for Webengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-webWeb applications specificallyWeb applications specifically