Answer the question
In order to leave comments, you need to log in
How to speed up NodeJS code?
I wrote the code in JS, launched it in NodeJS. The code iterates over the hashes and logs the appropriate ones. 1 million hashes in 75 seconds. Looked in the task manager, NodeJS uses only 20% of the processor and 70MB of RAM.
Is it possible to speed things up by allowing more CPU and memory to be used?
Answer the question
In order to leave comments, you need to log in
There is an excellent solution for iterating hashes: https://hashcat.net/hashcat/
The
only question is to write some kind of shell if necessary.
NodeJS runs in one thread - one core uses.
To use several, you need to attach a cluster to run several processes and load several cores.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question