Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 545 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 545 Bytes

nodejs-multithreading

This an example of using multithread in nodejs

This project was based on Michele Riva's article medium post Going Multithread with Node.js

Install dependencies

yarn install

How to execute?

yarn start:single OR start:multi

Execution times to build 1.000.000 of user names:

Mode Time in seconds
Single thread 756s
Multi thread 155s