x/tools/gopls: performance regression of gopls/internal/lsp tests with older Go versions #59184
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Just noticed while debugging an issue at older go versions:
The ./internal/lsp tests (which usually take around 10s on my laptop) take 20-30s on Go 1.17 and earlier. By comparison, these tests take ~10s at gopls/v0.11.0. This is a significant regression that must be understood. Either the importer/exporter are significantly slower at these Go versions, or there is some other problem. It may be (per https://go.dev/issue/59179) that there are significant errors in packages that fail to type-check pre generics, and the import/exprot performance is degraded on these packages.
The text was updated successfully, but these errors were encountered: