$ the-wire · showcase
Compiler prove pass gets 43x faster on huge switches
By RepoJournal · Filed · About Go · Composed from the cited sources · methodology
Go's compiler gained a large algorithmic win on pathological switches, x/pkgsite-metrics finished stripping per-IP collection out of its vulndb request pipeline, and the relnote check now runs unconditionally on every test pass.
cmd/compile: avoid scanning direct jump-table branches golang/go
cmd/compile now uses the predecessor edge's index when a jump-table successor has a single incoming edge from the table, skipping the per-case successor scan in prove. On a generated 8,000-case switch, median prove time dropped from 67.15 ms to 1.54 ms and total compiler wall time from 348.82 ms to 271.23 ms (five runs, linux/amd64, Intel i9-13900K).
internal/vulndbreqs: compute only aggregate daily request counts golang/pkgsite-metrics
The vulndbreqs worker stops computing per-IP counts and drops writes to vulndb.ip-requests, keeping only daily aggregates in vulndb.requests; HMAC key fetching and computation are removed from the worker, the CLI tool, and Terraform, and log parsing now extracts only the timestamp prefix, eliminating remoteIp parsing and IP string allocations.
cmd/relnote: always run relnote check golang/go
The relnote test loses its -check flag and now runs on every invocation, and dist test no longer re-runs it after go test std cmd. Matloob's justification is timing: "The test runs in 0.05s on my workstation. We should always run it." Release-note drift now fails the normal test path instead of a separate step.
syscall: use SyscallN consistently for Windows system calls golang/go
Windows system call sites in syscall move from the deprecated Syscall[3/6/9/...] family to SyscallN. Code calling the numbered variants directly should already expect deprecation warnings; the internal implementation just caught up.
Reland "blake2s: add loong64 SIMD implementation" golang/crypto
The loong64 blake2s SIMD implementation lands again after being reverted for failing to build on Go 1.23 and 1.24; with the module's minimum Go version now 1.26, that failure no longer applies. Also in the tail: pkgsite-metrics raised its GCS reader concurrency to 64 to lift download throughput from roughly 64 MiB/s toward 400 MiB/s, and x/crypto isolated TestSSHCLIControlClientConn from user S...