毕设专用git仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
tangxinyuan 0f4ed585a1 各部分未整合代码 1 month ago
..
dist 各部分未整合代码 1 month ago
LICENSE 各部分未整合代码 1 month ago
README.md 各部分未整合代码 1 month ago
package.json 各部分未整合代码 1 month ago

README.md

Tinypool - the node.js worker pool 🧵

Piscina: A fast, efficient Node.js Worker Thread Pool implementation

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 or NAPI, 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.

  • Smaller install size, 38KB

  • Minimal

  • No dependencies

  • Physical cores instead of Logical cores with physical-cpu-count

  • Supports worker_threads and child_process

  • No utilization

  • No NAPI

  • Written in TypeScript, and ESM support only. For Node.js 18.x and higher.

In case you need more tiny libraries like tinypool or tinyspy, please consider submitting an RFC

Docs

Read full docs on GitHub.