/node-worker-factorial

A simple app that demonstrates usage of Worker threads in Node.js

Primary LanguageJavaScript

Basic factorial with Node.js Worker thread

A simple app that demonstrates usage of Worker threads in Node.js.
App calculates factorial for given number using Worker threads (spawned accodring to number of user CPUs) and using simple array reduce method.
The timings for results are then presented for comparison.