Skip to content

Conversation

@jirfag
Copy link
Contributor

@jirfag jirfag commented Sep 14, 2019

Don't perform extra go env calls in go/packages.
Load only needed go env vars in golangci-lint.
Stay in sync by enabled analyzers in go vet: remove nilness and
atomicalign analyzers, add errorsas analyzer.
Don't build SSA for govet.

Standalone govet runs 25% faster than before. All runs can be 5-10% faster
than before.
Relates: #208

Don't perform extra go env calls in go/packages.
Load only needed go env vars in golangci-lint.
Stay in sync by enabled analyzers in go vet: remove nilness and
atomicalign analyzers, add errorsas analyzer.
Don't build SSA for govet.

Standalone govet runs 25% faster than before. All runs can be 5-10% faster
than before.
Relates: #208
@jirfag jirfag merged commit c9a9255 into master Sep 14, 2019
@jirfag jirfag deleted the feature/speed-up-govet branch September 14, 2019 15:48
@ernado
Copy link
Member

ernado commented Sep 14, 2019

Is there a way to enable the atomicalign back?
UPD: will be available after #697

@ldez ldez added this to the v1.19 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants