go/internal/lsp/fake
Rob Findley 384460091c gopls/internal/regtest: add a flag to profile didChange handling
Using the -cpuprofile testing flag for profiling didChange handling
causes the profile to capture the IWL. Add a new -didchange_cpuprof
flag that instruments just the change handling.

Also fix a check for empty workspace files that was preventing
This inaccurate check was preventing the didChange benchmark from
working.

Change-Id: Ie9f5402960ddccda5d6b9b36ae3c111aa5b51bb8
Reviewed-on: https://go-review.googlesource.com/c/tools/+/333939
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2021-07-13 12:52:46 +00:00
..
client.go internal/lsp: make ShowDocument RPC available to gopls 2021-05-03 16:38:18 +00:00
doc.go internal/lsp/fake: split up and rename the Workspace type 2020-05-06 18:17:57 +00:00
edit.go internal/lsp/cache: don't delete metadata until it's reloaded 2021-06-16 00:19:40 +00:00
edit_test.go internal/lsp/regtest: implement formatting and organizeImports 2020-03-02 19:16:53 +00:00
editor.go internal/lsp/source: move diagnosticsDelay out of experimental 2021-07-08 19:56:33 +00:00
editor_test.go gopls/internal/regtest: add a failing regtest for vscode-go#1489 2021-05-13 13:20:04 +00:00
proxy.go gopls/internal/regtest: add a failing regtest for vscode-go#1489 2021-05-13 13:20:04 +00:00
sandbox.go gopls/internal/regtest: add a flag to profile didChange handling 2021-07-13 12:52:46 +00:00
workdir.go internal/lsp/cache: don't delete metadata until it's reloaded 2021-06-16 00:19:40 +00:00
workdir_test.go gopls/internal/regtest: add a failing regtest for vscode-go#1489 2021-05-13 13:20:04 +00:00