-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/test/integration/bench: improve completion benchmarks
Make the following improvements to the completion benchmarks: - Run the "CompletionFollowingEdit" benchmarks with and without edits. Accordingly, rename it to just "BenchmarkCompletion", and shorten subtest names. - BenchmarkCompletion is a cleaner way to specify completion tests. Deprecate other styles. - Support running completion tests with a massive GOPATH, by passing -completion_gopath. - Add a tools_unimportedselector test that seems to do a good job of exercising slow unimported completion. Other unimportedcompletion tests were short-circuited in one way or another (for example, because kubernetes uses vendoring, gopls doesn't scan GOPATH). This will invalidate our benchmark dashboard, so we should merge this change before subsequent CLs that optimize unimported completion. For golang/go#63459 Change-Id: I9d7a06e3c1a7239b531ed8ff534f3174f4ac4ae8 Reviewed-on: https://go-review.googlesource.com/c/tools/+/560457 Reviewed-by: Alan Donovan <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
- Loading branch information
Showing
1 changed file
with
56 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters