Closed Rufus-L closed 6 years ago
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. Will investigate...
Closing in favour of https://github.com/cryptocoinjs/scryptsy/issues/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.