Shell::OnPlatformViewCreated should not serialize on the UI thread #91711
Labels
c: performance
Relates to speed or footprint issues (see "perf:" labels)
customer: money (g3)
engine
flutter/engine repository. See also e: labels.
P1
High-priority issues at the top of the work list
perf: startup
Performance issues related to app startup time
This is a snip from a trace during
Shell::OnCreatePlatformView
. The highlighted section is where the call is running on the platform thread, and the picture is showing what's going on on the UI thread:We should not be blocking progress on the platform thread while the UI thread is doing this work, and although the comment here says that this is important for some platforms, I'm not convinced that is true.
@chinmaygarde pointed out that the ordering is important in the OnPlatformViewDestroyed route, which I agree with and am less concerned about anyway. A couple concerns that he raised:
The text was updated successfully, but these errors were encountered: