alloc / alloc/saus

Cache the worker pool globally for multiple build calls

Aperta
#9 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
backlog proposal saus build
Lingua principale
TypeScript
Stelle
38
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.