[go] cmd/go: use a shared queue for test file loading

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Aug 14, 2026, 10:46:48 PM (2 days ago) Aug 14
to Jake Bailey, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Dmitri Shuralyov, Dmitri Shuralyov, golang...@luci-project-accounts.iam.gserviceaccount.com, Michael Matloob, Michael Matloob, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
cmd/go: use a shared queue for test file loading

Creating test packages can happen concurrently. Use a shared queue to
limit test file parsing to GOMAXPROCS across the process.

As suggested by Michael Matloob in CL 795742.
Change-Id: I252d20389109fc109530bd631f40e2c7e49819a9
Reviewed-by: Michael Matloob <mat...@google.com>
Reviewed-by: Dmitri Shuralyov <dmit...@google.com>
Auto-Submit: Jake Bailey <jacob.b...@gmail.com>
Reviewed-by: Michael Matloob <mat...@golang.org>
Files:
  • M src/cmd/go/internal/load/test.go
Change size: S
Delta: 1 file changed, 14 insertions(+), 8 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I252d20389109fc109530bd631f40e2c7e49819a9
Gerrit-Change-Number: 814020
Gerrit-PatchSet: 2
Gerrit-Owner: Jake Bailey <jacob.b...@gmail.com>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Jake Bailey <jacob.b...@gmail.com>
Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
Gerrit-Reviewer: Michael Matloob <mat...@google.com>
Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages