From 88566cee72b4762e0742fdde3f2c56b8a4d0bf03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 11 Dec 2023 17:33:56 +0100 Subject: perf(lsp): instrument all ops with performance marks (#21536) 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. --- cli/tests/integration/lsp_tests.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cli/tests') diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs index 98aaaebb4..aad2c9086 100644 --- a/cli/tests/integration/lsp_tests.rs +++ b/cli/tests/integration/lsp_tests.rs @@ -8318,7 +8318,10 @@ fn lsp_performance() { "tsc.host.$getDiagnostics", "tsc.host.$getSupportedCodeFixes", "tsc.host.getQuickInfoAtPosition", + "tsc.op.op_is_node_file", "tsc.op.op_load", + "tsc.op.op_script_names", + "tsc.op.op_script_version", "tsc.request.$configure", "tsc.request.$getAssets", "tsc.request.$getSupportedCodeFixes", -- cgit v1.2.3