Open
Description
We're doing a lot of long-running processing on the UI thread which is
- hurting performance, and
- spamming the logs (distracting users as in Slow operations are prohibited on EDT #7151, Error reported when opening the project: Slow operations are prohibited on EDT (IDEA U2024.2.1) #7641 and Slow operations are prohibited on EDT (Bazel-related) #8083)
We've had issues safely making the change to use the prescribed ReadAction.nonBlocking
APIs (see for example: #7792) so we'll want to proceed thoughtfully.
This issue will stand as a tracker for migrations.
Some resources:
🚧🚧🚧
Blocking calls to migrate:
- [CQ] stop blocking on
FlutterStudioStartupActivity
startup #8093 - [CQ] stop blocking on
FlutterPluginsLibraryManager
update #8094 - [perf] stop blocking on
SdkRunConfig.addConsoleFilters
#8095 -
io.flutter.bazel.WorkspaceCache#refresh
-
io.flutter.run.SdkRunConfig#getState