ojkelly / yarn.build

Build 🛠 and Bundle 📦 your local workspaces. Like Bazel, Buck, Pants and Please but for Yarn Berry. Build any language, mix javascript, typescript, golang and more in one polyglot repo. Ship your bundles to AWS Lambda, Docker, or any nodejs runtime.
https://yarn.BUILD
MIT License
325 stars 28 forks source link

default concurrency at the number of cpu threads #224

Closed ojkelly closed 2 years ago

ojkelly commented 2 years ago

This changes the previous defualt of 8 to max cpu threads, which is far more performant when you saturate your CPU.

You can still choose higher than max cpu threads by passing -m --max-concurrency, which you would want to do if you need to run a large number of things in parallel that do not tax the CPU. For example, deploying resources via a remote service, where you task will spend time waiting.