mirror of
https://github.com/golang/go
synced 2024-11-18 19:44:46 -07:00
5999de1043
Tweak a couple things to improve how we reduce our search scope based on remaining time budget: - Check our budget on the first candidate rather than waiting for the 1000th candidate. If type checking is slow you can be out of budget before you even begin. - Reduce our budget check interval from 1000 candidates to 100 candidates. This just helps us adjust our search scope faster. The first tweak required me to raise the completion budget for tests because 100ms is not always enough. I moved the budget into the completion options so that tests can raise it. Change-Id: I1aa7909d7baf9c998bc830c960dc579eb33db12a Reviewed-on: https://go-review.googlesource.com/c/tools/+/195419 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
apidiff | ||
fastwalk | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
module | ||
semver | ||
span | ||
telemetry | ||
testenv | ||
tool | ||
txtar | ||
xcontext |