CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-workerpool

Offload tasks to a pool of workers on node.js and in the browser

Overall
score

95%

Overview
Eval results
Files

Evaluation results

100%

Image Processing Worker Service

Dedicated worker scripts

Criteria
Without context
With context

Worker function registration

100%

100%

Progress event emission

100%

100%

Pool creation with script

100%

100%

Named method execution

100%

100%

Event listener setup

100%

100%

Pool termination

100%

100%

100%

Image Processing Pool Manager

Worker pool creation and configuration

Criteria
Without context
With context

Pool creation using workerpool.pool()

100%

100%

minWorkers configuration

100%

100%

maxWorkers configuration

100%

100%

maxQueueSize configuration

100%

100%

workerType configuration

100%

100%

Stats retrieval

100%

100%

Pool termination

100%

100%

80%

Task Timeout Management System

Task timeouts

Criteria
Without context
With context

Worker Pool Creation

100%

100%

Task Execution

100%

100%

Timeout Configuration

100%

100%

Timeout Error Handling

0%

0%

Pool Termination

100%

100%

100%

45%

Task Progress Manager with Cancellation

Task cancellation

Criteria
Without context
With context

Worker Pool Creation

100%

100%

Task Execution

100%

100%

Cancel Method Usage

100%

100%

Timeout Method Usage

0%

100%

CancellationError Handling

0%

100%

TimeoutError Handling

0%

100%

98%

18%

Task Manager with Timeout and Cancellation

Advanced Promise features

Criteria
Without context
With context

Worker pool creation

100%

100%

Promise.all() usage

0%

100%

Task cancellation

100%

100%

CancellationError detection

100%

100%

Timeout implementation

100%

100%

TimeoutError detection

100%

100%

Cleanup operations

100%

80%

100%

Task Queue Processing System

Worker proxy creation

Criteria
Without context
With context

Worker pool creation

100%

100%

Worker method registration

100%

100%

Proxy creation

100%

100%

Method invocation via proxy

100%

100%

Pool termination

100%

100%

70%

25%

Image Processing Worker Pool

Transferable objects

Criteria
Without context
With context

Pool Creation

100%

100%

Worker Registration

100%

100%

Transfer Class Usage

0%

0%

Return Transfer

0%

100%

Task Execution

100%

100%

Buffer Processing

100%

100%

Pool Termination

100%

100%

100%

25%

Data Processor

Task execution via pool.exec()

Criteria
Without context
With context

Pool creation

100%

100%

Dynamic function execution

0%

100%

Function parameters

100%

100%

Promise handling

100%

100%

Error propagation

100%

100%

Pool termination

100%

100%

100%

55%

File Processor with Progress Tracking

Event emission from workers

Criteria
Without context
With context

Creates worker pool

0%

100%

Implements worker script

100%

100%

Emits events from worker

100%

100%

Handles events in main thread

0%

100%

Executes tasks via pool.exec()

0%

100%

100%

13%

Resilient Task Processor

Worker crash recovery

Criteria
Without context
With context

Pool Creation

100%

100%

Worker Script Implementation

100%

100%

Task Execution

100%

100%

Crash Simulation

100%

100%

Error Handling

33%

100%

Pool Resilience

80%

100%

Pool Cleanup

100%

100%

Install with Tessl CLI

npx tessl i tessl/npm-workerpool
Evaluated
Agent
Claude Code

Table of Contents