Skip to content

x/tools/gopls: inconsistent performance on hashicorp/terraform-provider-aws #60621

Closed
@findleyr

Description

@findleyr

Discovered by way of a user survey, there is very inconsistent performance of the gopls analysis driver in v0.12.0.

Repro:

  1. clone https://github.com/hashicorp/terraform-provider-aws
  2. open a small package, e.g. ./internal/types. Everything is great, and gopls uses much less memory than v0.11.0, as expected
  3. 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

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.SoonThis needs action soon. (recent regressions, service outages, unusual time-sensitive situations)ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions