errors: performance regression in New · Issue #30468 · golang/go

CL 163557 added a call to runtime.Callers in the path of errors.New, which has now become a bottleneck in cmd/go initialization (see #29382 (comment)). While I understand the desire to capture stac...