Skip to content

perf(fmt): cap default worker count at eight - #149

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/perf-fmt-cap-workers
Aug 3, 2026
Merged

perf(fmt): cap default worker count at eight#149
chenjiahan merged 1 commit into
mainfrom
chenjiahan/perf-fmt-cap-workers

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Formatter throughput can plateau before all CPU cores are occupied, while additional workers increase scheduling and memory pressure. This caps the default rs fmt worker count at 8 while preserving explicit maxWorkers overrides.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3b6a07b
Status: ✅  Deploy successful!
Preview URL: https://9f46597e.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-perf-fmt-cap-work.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit 4498cb2 into main Aug 3, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/perf-fmt-cap-workers branch August 3, 2026 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant