зеркало из https://github.com/golang/tools.git
7bb384dcf8
The existing BenchmarkInitialWorkspaceLoad does not open files, which means it measures only the speed of loading and verifying the workspace state, with hot caches. It does not measure the memory or time consumed when starting to actually work on a file. Fix this by opening a file. Also, add -profile.block to gopls and -gopls_blockprofile to gopls benchmarks, for better diagnosis of contention. Change-Id: I63ef7c9a26ca71ddd9b6895369921655eaa4f090 Reviewed-on: https://go-review.googlesource.com/c/tools/+/614163 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Alan Donovan <adonovan@google.com> |
||
---|---|---|
.. | ||
tool.go |