Closed
Description
Discovered by way of a user survey, there is very inconsistent performance of the gopls analysis driver in v0.12.0.
Repro:
- clone https://github.com/hashicorp/terraform-provider-aws
- open a small package, e.g.
./internal/types
. Everything is great, and gopls uses much less memory than v0.11.0, as expected - open
./internal/provider
, everything goes boom. analysis uses ~50GB (and counting..?)
Given that gopls can type-check the repository expediently, this seems like a likely bug in the new analysis driver.
CC @adonovan