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 logical core count for test parallelization #50564

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

jonathanhefner
Copy link
Member

This changes the default number of workers when parallelizing tests to be based on logical core count instead of physical core count. This may provide a performance boost for parallelized tests.

This also reverts #50545 in favor of using the default worker count.

This changes the default number of workers when parallelizing tests to
be based on logical core count instead of physical core count.  This may
provide a performance boost for parallelized tests.

This also reverts rails#50545 in favor of using the default worker count.
@jonathanhefner jonathanhefner merged commit 4bbceda into rails:main Jan 3, 2024
4 checks passed
@morgoth
Copy link
Member

morgoth commented Jan 7, 2024

@jonathanhefner @rafaelfranca I'm wondering if the same change should apply to the puma config, ie https://github.com/rails/rails/blob/main/railties/lib/rails/generators/rails/app/templates/config/puma.rb.tt#L17 Do you have any opinion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants