encoding/jsonschema: parallelize vendor_external.go a bit master
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í <mvdan@mvdan.cc> Change-Id: If6e23e1fcde00b4ace8e0a18e71826f952ed2b18 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1217835 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Roger Peppe <rogpeppe@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>