-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
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)c: regressionIt was better in the past than it is nowIt was better in the past than it is nowengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.perf: speedPerformance issues related to (mostly rendering) speedPerformance issues related to (mostly rendering) speedteam-engineOwned by Engine teamOwned by Engine team
Description
Comparing a launch trace vs last year, noticed that on the UI thread, the very first thing we do when launching a Flutter instance seems to open up with a garbage collect rather than drawing the first frame.
See screenshot for stack:
The sampling is every 1ms but it seems like the first 20ms were spent garbage collecting. @dnfield may have recent context. Could we add some special casing to not do an Engine::NotifyIdle until the first frame is drawn?
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)c: regressionIt was better in the past than it is nowIt was better in the past than it is nowengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.perf: speedPerformance issues related to (mostly rendering) speedPerformance issues related to (mostly rendering) speedteam-engineOwned by Engine teamOwned by Engine team


