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
This shaves off about 0.1ms and 2000 allocs from the total init time
cost of cmd/cue, which is a small but worthwhile win
as measured by benchinit plus benchstat:
│ old │ new │
│ sec/op │ sec/op vs base │
CuelangOrgGoCmdCue 1.465m ± 5% 1.363m ± 4% -6.96% (p=0.002 n=6)
│ old │ new │
│ B/op │ B/op vs base │
CuelangOrgGoCmdCue 1.253Mi ± 0% 1.095Mi ± 0% -12.58% (p=0.002 n=6)
│ old │ new │
│ allocs/op │ allocs/op vs base │
CuelangOrgGoCmdCue 10.275k ± 0% 8.181k ± 0% -20.38% (p=0.002 n=6)
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: I552116f9e2c1d9c240a21cf044e80961b394c5bb
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1198994
TryBot-Result: CUEcueckoo <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
Reviewed-by: Roger Peppe <[email protected]>
returnfmt.Errorf("path does not conform to OCI repository name restrictions; see https://github.com/opencontainers/distribution-spec/blob/HEAD/spec.md#pulling-manifests")
0 commit comments