Skip to content
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

Use 8-core runners for tests and updating third-party rules #633

Merged
merged 2 commits into from
Nov 16, 2024

Conversation

egibs
Copy link
Member

@egibs egibs commented Nov 16, 2024

With all of our tests using t.Parallel() appropriately, we can leverage a larger runner to further cut down on how long our tests take.

Based on #632, 8-core runners offer a sizable performance uplift over the default 4-core runners and anything larger hits the realm of diminishing returns pretty quickly.

image
This definitely beats the 12-13+ minute Workflow runs we were seeing originally.

Bonus third-party rule Workflow timing after the change (ten minutes faster!):
image

@egibs egibs requested a review from tstromberg November 16, 2024 00:31
@tstromberg tstromberg merged commit abb3d3f into chainguard-dev:main Nov 16, 2024
8 checks passed
egibs added a commit to egibs/malcontent that referenced this pull request Nov 16, 2024
…rd-dev#633)

* Use 8-core runners for tests and updating third-party rules

Signed-off-by: egibs <[email protected]>

* Update TestCleanPath to run its cases in parallel

Signed-off-by: egibs <[email protected]>

---------

Signed-off-by: egibs <[email protected]>
@egibs egibs deleted the use-8-core-runner branch November 18, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants