Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 1.12 KB

README.md

File metadata and controls

35 lines (20 loc) · 1.12 KB

Node.js CI

thread safe workers

A thread-safe implementation of nodejs worker threads with Mutex locking implemented using Atomics & SharedArrayBuffer(s).

Run

Clone the repository and run

One time

This will run the node process only once.

npm start

Multipe times

To run the benchmark, run. Will invoke the single process multiple times, concurrently.

npm bench

This will create multiple output-<n>.txt files along with a final concatenated output.txt file.

Results

The combined output.txt should contain 5000 entries all having the same final value of 130.

See also

deno-workers