├── .github └── workflows │ └── publish.yml ├── .gitignore ├── .npmignore ├── DOCS.md ├── LICENSE ├── README.md ├── benchmarks ├── ANALYSIS.md ├── Dockerfile.bun ├── Dockerfile.node ├── README.md ├── bench-diagnostic.ts ├── bench-serialization.ts ├── bench-turbo.ts ├── docker-compose.yml ├── generate-analysis.ts ├── results │ └── .gitkeep ├── run.ps1 ├── run.sh ├── test-bun.ts ├── test-worker-threads.ts └── workers │ ├── heavy-worker.js │ ├── object-worker.js │ └── piscina-worker.js ├── package.json ├── src ├── autopack.ts ├── cache.ts ├── coalescing.ts ├── config.ts ├── errors.ts ├── execution.ts ├── executor.ts ├── file-worker.ts ├── index.ts ├── inline-workers.ts ├── pool.ts ├── turbo.ts ├── types.ts ├── utils.ts ├── validation.ts └── worker.ts ├── test-workers ├── chunk-worker.js ├── error-worker.js ├── math-worker.js ├── multi-args-worker.js ├── simple-worker.js └── slow-worker.js ├── test.ts ├── tsconfig.json └── tsconfig.test.json /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/.npmignore -------------------------------------------------------------------------------- /DOCS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/DOCS.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/README.md -------------------------------------------------------------------------------- /benchmarks/ANALYSIS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/ANALYSIS.md -------------------------------------------------------------------------------- /benchmarks/Dockerfile.bun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/Dockerfile.bun -------------------------------------------------------------------------------- /benchmarks/Dockerfile.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/Dockerfile.node -------------------------------------------------------------------------------- /benchmarks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/README.md -------------------------------------------------------------------------------- /benchmarks/bench-diagnostic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/bench-diagnostic.ts -------------------------------------------------------------------------------- /benchmarks/bench-serialization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/bench-serialization.ts -------------------------------------------------------------------------------- /benchmarks/bench-turbo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/bench-turbo.ts -------------------------------------------------------------------------------- /benchmarks/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/docker-compose.yml -------------------------------------------------------------------------------- /benchmarks/generate-analysis.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/generate-analysis.ts -------------------------------------------------------------------------------- /benchmarks/results/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/results/.gitkeep -------------------------------------------------------------------------------- /benchmarks/run.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/run.ps1 -------------------------------------------------------------------------------- /benchmarks/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/run.sh -------------------------------------------------------------------------------- /benchmarks/test-bun.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/test-bun.ts -------------------------------------------------------------------------------- /benchmarks/test-worker-threads.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/test-worker-threads.ts -------------------------------------------------------------------------------- /benchmarks/workers/heavy-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/workers/heavy-worker.js -------------------------------------------------------------------------------- /benchmarks/workers/object-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/workers/object-worker.js -------------------------------------------------------------------------------- /benchmarks/workers/piscina-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/benchmarks/workers/piscina-worker.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/package.json -------------------------------------------------------------------------------- /src/autopack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/autopack.ts -------------------------------------------------------------------------------- /src/cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/cache.ts -------------------------------------------------------------------------------- /src/coalescing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/coalescing.ts -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/errors.ts -------------------------------------------------------------------------------- /src/execution.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/execution.ts -------------------------------------------------------------------------------- /src/executor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/executor.ts -------------------------------------------------------------------------------- /src/file-worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/file-worker.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/inline-workers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/inline-workers.ts -------------------------------------------------------------------------------- /src/pool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/pool.ts -------------------------------------------------------------------------------- /src/turbo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/turbo.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/utils.ts -------------------------------------------------------------------------------- /src/validation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/validation.ts -------------------------------------------------------------------------------- /src/worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/src/worker.ts -------------------------------------------------------------------------------- /test-workers/chunk-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/test-workers/chunk-worker.js -------------------------------------------------------------------------------- /test-workers/error-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/test-workers/error-worker.js -------------------------------------------------------------------------------- /test-workers/math-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/test-workers/math-worker.js -------------------------------------------------------------------------------- /test-workers/multi-args-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/test-workers/multi-args-worker.js -------------------------------------------------------------------------------- /test-workers/simple-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/test-workers/simple-worker.js -------------------------------------------------------------------------------- /test-workers/slow-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/test-workers/slow-worker.js -------------------------------------------------------------------------------- /test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samsantosb/BeeThreads/HEAD/tsconfig.test.json --------------------------------------------------------------------------------