版博士V2.0程序
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

12345678910111213141516171819
  1. # Tinypool - the node.js worker pool 🧵
  2. > Piscina: A fast, efficient Node.js Worker Thread Pool implementation
  3. Tinypool is a fork of piscina. What we try to achieve in this library, is to eliminate some dependencies and features that our target users don't need (currently, our main user will be Vitest). Tinypool's install size (38KB) can then be smaller than Piscina's install size (6MB). If you need features like [utilization](https://github.com/piscinajs/piscina#property-utilization-readonly) or [NAPI](https://github.com/piscinajs/piscina#thread-priority-on-linux-systems), [Piscina](https://github.com/piscinajs/piscina) is a better choice for you. We think that Piscina is an amazing library, and we may try to upstream some of the dependencies optimization in this fork.
  4. - ✅ Smaller install size, 38KB
  5. - ✅ Minimal
  6. - ✅ No dependencies
  7. - ✅ Physical cores instead of Logical cores with [physical-cpu-count](https://www.npmjs.com/package/physical-cpu-count)
  8. - ❌ No utilization
  9. - ❌ No NAPI
  10. - Written in TypeScript, and ESM support only. For Node.js 14.x and higher.
  11. _In case you need more tiny libraries like tinypool or tinyspy, please consider submitting an [RFC](https://github.com/tinylibs/rfcs)_
  12. ## Docs
  13. Read **[full docs](https://github.com/aslemammad/tinypool#readme)** on GitHub.