You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
encoding/jsonschema: parallelize vendor_external.go a bit
Fetching the zip file from upstream takes ~150ms,
and reading and updating the test data takes ~400ms.
Given that all `go generate ./...` steps happen sequentially,
cutting down the runtime cost even by 150ms is noticeable.
│ old │ new │
│ sec/op │ sec/op vs base │
VendorExternal 900.5m ± 8% 751.2m ± 3% -16.58% (p=0.000 n=8)
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: If6e23e1fcde00b4ace8e0a18e71826f952ed2b18
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1217835
Unity-Result: CUE porcuepine <[email protected]>
Reviewed-by: Roger Peppe <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
0 commit comments