summaryrefslogtreecommitdiff
path: root/cli/lsp/performance.rs
AgeCommit message (Collapse)Author
2024-05-08refactor(lsp): cleanup partially locking methods (#23723)Nayeem Rahman
2024-01-01chore: update copyright to 2024 (#21753)David Sherret
2023-12-12perf(lsp): collect counts and durations of all requests (#21540)Bartek Iwańczuk
In addition to collecting details per-request metrics of the last 3000 request this commit adds aggregate metrics for all requests.
2023-12-11perf(lsp): instrument all ops with performance marks (#21536)Bartek Iwańczuk
Adds performance measurements for all ops used by the LSP. Also changes output of "Language server status" page to include more precise information. Current suspicion is that computing "script version" takes a long time for some users.
2023-12-01perf(lsp): better op performance logging (#21423)Bartek Iwańczuk
2023-12-01refactor(lsp): log names (#21413)Bartek Iwańczuk
This commit changes LSP log names by prefixing them, we now have these prefixes: - `lsp.*` - requests coming from the client - `tsc.request.*` - requests coming from clients that are routed to TSC - `tsc.op.*` - ops called by the TS host - `tsc.host.*` - requests that call JavaScript runtime that runs TypeScript compiler host Additionall `Performance::mark` was split into `Performance::mark` and `Performance::mark_with_args` to reduce verbosity of code and logs.
2023-01-26refactor(lsp): fewer clones (#17551)Geert-Jan Zwiers
2023-01-02chore: update copyright year to 2023 (#17247)David Sherret
Yearly tradition of creating extra noise in git.
2022-02-24refactor: remove dead code from lsp (#13743)Kitson Kelly
2022-01-24perf(lsp): improve some tsc op hot paths (#13473)Kitson Kelly
2022-01-17refactor(lsp): remove `performance` from `StateSnapshot` (#13403)David Sherret
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2021-12-15feat: REPL import specifier auto-completions (#13078)David Sherret
2021-07-06chore: use parking_lot for synchronization primitives to align with tokio ↵David Sherret
(#11289) parking_lot is already transitively used in tokio via the "full" cargo feature
2021-05-11feat(lsp): add internal debugging logging (#10438)Kitson Kelly
Ref: #10368
2021-04-20feat(lsp): improve diagnostic status page (#10253)Kitson Kelly
2021-02-12feat(lsp): add deno cache code actions (#9471)Kitson Kelly
2021-01-27feat(lsp): add performance measurements (#9209)Kitson Kelly