Skip to content

[perf] migrate slow operations to non-blocking calls #8089

Open
@pq

Description

@pq

We're doing a lot of long-running processing on the UI thread which is

  1. hurting performance, and
  2. 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:

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions