-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
🏗 Parallelizes execution of unit tests and e2e test on CircleCI #35227
🏗 Parallelizes execution of unit tests and e2e test on CircleCI #35227
Conversation
254e36f
to
fed1d52
Compare
d82996a
to
0490bf6
Compare
.circleci/config.yml
Outdated
'All Unit Tests': | ||
executor: | ||
name: amphtml-large-executor | ||
parallelism: 16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was suggesting going below 16, not above. For posterity, could you share links that show the total duration and the total CPU usage for 4, 8, and 16 respectively (and any other parallelism factors you think are worth trying)?
66ee65b
to
62c4369
Compare
c2083d1
to
044b444
Compare
Co-authored-by: Raghu Simha <rsimha@amp.dev>
1f366da
to
e1273f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a valiant effort, and the results in #35227 (comment) are very exciting. A ~30% reduction in running time for a ~10% increase in credits used is an excellent tradeoff.
LGTM!
This PR:
⛓️
emoji in their name to indicate that they're paralellized--local_changes
into a separate job which is a prerequisite to the (now renamed)All Unit Tests
jobAll Unit Tests
when running on push builds, as it has no meaning outside of pull requests