-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Poor performance when decrypting 2+ keys #40
Comments
A sample of 2 keys is probably not a great example, but, I'd be happy to look into this. It is likely this is a hot-spotting issue from the VM mis-optimizing the code. Are you experiencing this consistently? |
I used a sample of 2 to make the code simpler. The result is always the same: first one is quick, all the others take about 5x the time. That happens everytime. Even if the 1st and 2nd keys are the same. |
Reproduced. 5x. |
Closing in favour of cryptocoinjs/scryptsy#8 |
Hey,
I'd like to know why it takes about 2-3s to decrypt one key, but then it gets a lot worse for subsequent keys (12-15s). Is it possible to improve that?
That happens either running with Node or Web browser.
The text was updated successfully, but these errors were encountered: