Skip to content

Performance of CodeAction and InlayHints #2821

@kjeremy

Description

@kjeremy

When opening main.rs from ra_lsp_server I'm seeing the following:

[Trace - 10:25:17 AM] Received response 'textDocument/codeAction - (69)' in 211ms.
[Trace - 10:25:17 AM] Received response 'rust-analyzer/inlayHints - (70)' in 200ms.

These are an order of magnitude higher than other requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-perfperformance issuesA-tytype system / type inference / traits / method resolutionS-unactionableIssue requires feedback, design decisions or is blocked on other work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions