Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Unreasonably poor editor performance when RLS is connected #104

@joepie91

Description

@joepie91

I'm currently following this blog series, and I'm experiencing severe performance issues in Atom while doing so; every file modification (key press, undo, etc.) takes anywhere between 100ms and 500ms to occur, and the editor hangs in the meantime. This is making my editor absolutely unusable.

I've isolated the problem to ide-rust, specifically when it's connected to an RLS instance with an rls.toml specifying an alternate target; I've tested the following scenarios:

  • RLS connected, rls.toml specified: Performance is unusably poor.
  • RLS disconnected (eg. repeatedly killed and restart limit reached): Performance is fine.
  • rls.toml removed: Performance is fine.
  • Editing a non-Rust project: Performance is fine.

I've uploaded an archive here of the project in the exact state in which it causes performance issues. There's also a profiler dump of the performance issues.

I'm currently using Atom 1.31.2 x64, on NixOS 18.03.

(The rls.toml is necessary to keep RLS from complaining about conflicts with std, since this is a no_std project.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions