These are some tests about the new experimental feature "Worker Threads" on Node.js 10.5.
This script spawns 5 workers and prints data in workers.
node --experimental-worker basic.jsThis script uses the classic cluster module to fork new processes.
node fork.jsThis script uses MessagePort to communicate between the main thread and workers.
node --experimental-worker message.jsThis script uses SharedArrayBuffer to share memory between the main thread and workers.
node --experimental-worker message.js