alloc / alloc/saus

Cache the worker pool globally for multiple build calls

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
backlog proposal saus build
Dominant language
TypeScript
Stars
38
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Currently, each `build` call manages its own worker pool, but that means multiple builds will incur the same startup penalty when they *could* be reusing workers from previous builds.

The proposed feature would introduce a `terminateWorkerPool` exported function that you would only call when you're done calling `build` for the rest of your program.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.