Enable --threads for all tasks, or have more efficient CPU usage across tasks #8948
Michael-M-Judd
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
|
Currently, we use rayon for actually doing the multithreading, so as a workaround you can set the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the advent of agentic workflows, we can have many processes all running biome lint or biome format.
Ideally, biome should be smarter about not using 100% CPU at all times for massive codebases if there are a number of other biome instances running.
Common workflow:
Issue: Resource contention, slow linting across multiple processes
A simple solution to this IMO is that we should just allow
--threadsto exist for all calls, not justcithat currently enables it. This way, users can limit biome threads to 1 to ensure threads are healthy across parallel agents.Beta Was this translation helpful? Give feedback.
All reactions