-
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/regtest/bench: add benchmarks in a wider variety of repos
Extend existing benchmarks to run in more repos, choosing an initial set with different features that may affect performance. Some of these take too long if run in the same batch, so guard with -short. Several benchmarks need a location within the codebase. For these, I have chosen somewhat arbitrarily, but tried to select locations within the core of the codebase. We can always adjust in the future. Additionally: - fix the fake file polling to scale to larger codebases, by avoiding reading files if it isn't necessary - fix a polling bug related to symlinks - fix a couple places the benchmarks weren't cleaning up after themselves correctly - fix a bug where the gopls install used the wrong directory For golang/go#53538 Change-Id: I559031cb068086cd5ec19e36bb12da396194933c Reviewed-on: https://go-review.googlesource.com/c/tools/+/469355 gopls-CI: kokoro <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Robert Findley <[email protected]> Reviewed-by: Alan Donovan <[email protected]>
- Loading branch information
Showing
15 changed files
with
407 additions
and
243 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
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
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
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
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
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
Oops, something went wrong.