piscina

v4.7.0
A fast, efficient Node.js Worker Thread Pool implementation
fast worker threads thread pool wade wilson

build

tsc && gen-esm-wrapper . dist/esm-wrapper.mjs

lint

standardx "**/*.{ts,mjs,js,cjs}" | snazzy

test

c8 tap

test:ci

npm run lint && npm run build && npm run test:coverage

test:coverage

c8 --reporter=lcov tap --cov

prepack

npm run build

bench

npm run bench:taskqueue && npm run bench:piscina

bench:piscina

npm run benchmark:piscina-default &&npm run benchmark:piscina-fixed-queue && npm run benchmark:piscina-comparison

bench:taskqueue

npm run benchmark:queue-comparison

benchmark:piscina-default

node benchmark/simple-benchmark.js

benchmark:piscina-fixed-queue

node benchmark/simple-benchmark-fixed-queue.js

benchmark:piscina-comparison

node benchmark/piscina-queue-comparison.js

benchmark:queue-comparison

node benchmark/queue-comparison.js
npm i piscina

Metadata

  • MIT
  • Whatever
  • James M Snell
  • released 9/18/2024

Downloads