Skip to content

rust-analzyer progressively gets slower when repeatedly navigating to (large) include!ed files in VSCode #18879

Open
@PrototypeNM1

Description

rust-analyzer version: 0.3.2253-standalone (cd12ef8 2025-01-07)

rustc version: 1.83.0 (90b35a623 2024-11-26)

editor or extension: VSCode, extension verson 0.3.2253

relevant settings: Likely irrelevant, but CARGO_HOME=D:\.cargo

repository link (if public, optional): https://github.com/PrototypeNM1/include_nav_degrade_performance

code snippet to reproduce:
Repeatedly ctrl+click the include path and navigate back until performance degrades.

A parallel symptom is that the rust-analyzer process will exhaust a CPU core while hanging.

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions