You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
While working on reducing end-to-end-latency of diagnostics for Zed I've noticed that LSP message payloads for diagnostics (and other messages too I suppose) are getting dropped by LspServerWriter. This showed up for me in RA profiles while working with a dummy project with 8k diagnostics in a single file (linked below).
This is not really a bug, more so a query - would it be worthwhile to try to drop messages in background thread to keep the LspServerWriter responsive? Based on few comments across the codebase this seems to be intent.
rust-analyzer version: latest main (cd199ea) rustc version: rustc 1.82.0 (f6e511eec 2024-10-15) editor or extension: Zed repository link: repro
The text was updated successfully, but these errors were encountered:
Hello,
While working on reducing end-to-end-latency of diagnostics for Zed I've noticed that LSP message payloads for diagnostics (and other messages too I suppose) are getting dropped by LspServerWriter. This showed up for me in RA profiles while working with a dummy project with 8k diagnostics in a single file (linked below).
This is not really a bug, more so a query - would it be worthwhile to try to drop messages in background thread to keep the LspServerWriter responsive? Based on few comments across the codebase this seems to be intent.
rust-analyzer version: latest main (cd199ea)
rustc version:
rustc 1.82.0 (f6e511eec 2024-10-15)
editor or extension: Zed
repository link: repro
The text was updated successfully, but these errors were encountered: