Skip to content

Use number of CPUs instead of hardcoding 4

Ash McKenzie requested to merge ashmckenzie/speed-up-bundler into main

What does this Merge Request do and why?

This MR updates calls to bundle install where --jobs 4 was hardcoded to use the number of available CPUs instead, which in a lot of scenarios is greater than 4 so we should see some performance improvements here 🙂

Merge Request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise Issue to follow-up.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.
Edited by Ash McKenzie

Merge request reports