-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/tools/gopls: incorporate pgo into release process #64301
Comments
I have looked into optimizing gopls with pgo, but there are few benchmarks in gopls, so it is difficult to measure the performance gains from pgo. |
@qiulaidongfeng there are benchmarks for performance critical operations, across a variety of open-source repositories, defined in the x/tools/gopls/internal/regtest/bench package. These produce the dashboard I linked above, which we monitor to detect performance regressions. Can you explain why these are inadequate for evaluating pgo? (serious question: perhaps I'm missing something). |
The command I use is go test -run=ssss -bench=. -benchtime=500ms ./... D:\file\gofile\gogit\tools\gopls>go test -run=ssss -bench=. -benchtime=500ms ./... |
@findleyr |
Ah, those benchmarks are failing because they use |
Reminder issue: we should use pgo with gopls.
We can either calibrate using our benchmarks, or by collecting/merging real editing sessions.
The text was updated successfully, but these errors were encountered: