-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run go-install
in deps-tools
in parallel
#31711
Conversation
`go install` is far too conservative in regards to parallel HTTP requests, so we can run the commands in parallel to achieve a speedup of likely around 300% on CI. In my testing, it does seem to be concurrency-safe.
CI run shows the time is almost the same as before on GitHub actions, but I had other projects that benefitted massively from this change (300% faster). Maybe |
Definitely a lot faster for me locally (
I guess the reason it's not faster on CI is because CPU resources are limited on our runners. |
deps-tools
in parallelgo-install
in deps-tools
in parallel
* giteaofficial/main: Make GetRepositoryByName more safer (go-gitea#31712) [skip ci] Updated licenses and gitignores Run `go-install` in `deps-tools` in parallel (go-gitea#31711) Hide the "Details" link of commit status when the user cannot access actions (go-gitea#30156) Enable `no-jquery/no-parse-html-literal` and fix violation (go-gitea#31684) [skip ci] Updated translations via Crowdin OIDC: case-insensitive comparison for auth scheme `Basic` (go-gitea#31706) Support `pull_request_target` event for commit status (go-gitea#31703) Add types to fetch,toast,bootstrap,svg (go-gitea#31627) Run `detectWebAuthnSupport` only if necessary (go-gitea#31691) add `username` to OIDC introspection response (go-gitea#31688) Add return type to GetRawFileOrLFS and GetRawFile (go-gitea#31680) Support delete user email in admin panel (go-gitea#31690) Use GetDisplayName() instead of DisplayName() to generate rss feeds (go-gitea#31687)
go install
is far too conservative in regards to parallel HTTP requests, so we can run the commands in parallel to achieve a speedup.