x/tools/gopls: startup is slow even with shared cache #48844
What did you do?
I use vim-go, and I generally open and close many vim windows throughout the course of the day. Working on a large codebase, I have noticed that each time I open a new vim, the
What did you expect to see?
I expected step 5, and all subsequent vim instances to benefit from the shared cache.
I recognize that my expectations may have been off, but this was something I was hopeful a shared daemon would fix.
What did you see instead?
The second instance was just as slow to start up as the first. Below are the logs generated
The text was updated successfully, but these errors were encountered:
When we add a view, we should check if we already have a view for the given folder. Updates golang/go#48844 Change-Id: I0de27d420e2b4df3b33b913ae27b108bab6b7d12 Reviewed-on: https://go-review.googlesource.com/c/tools/+/356933 Trust: Rebecca Stambler <firstname.lastname@example.org> Run-TryBot: Rebecca Stambler <email@example.com> Reviewed-by: Robert Findley <firstname.lastname@example.org> gopls-CI: kokoro <email@example.com> TryBot-Result: Go Bot <firstname.lastname@example.org>