Performance issue with PBKDF2
GoogleCodeExporter opened this issue · 2 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Use PBKDF2
What is the expected output? What do you see instead?
Expected: A normal speed Instead: exponentially slower the higher the iteration
count.
What version of the product are you using? On what operating system?
3.1.2 - OSX 10.8.2 - Chrome 24 & 25
Please provide any additional information below.
See: http://jsperf.com/pbkdf2-sjcl-cryptojs
Original issue reported on code.google.com by jos...@feth.com
on 20 Jan 2013 at 6:07
GoogleCodeExporter commented
And here is the according JSFiddle: http://jsfiddle.net/joscha/rz6yu/
Original comment by jos...@feth.com
on 20 Jan 2013 at 7:24
GoogleCodeExporter commented
Yup, I can definitely acknowledge the poor performance compared to other
libraries. There have been lots of changes to JavaScript engines over the past
few years, and unfortunately some of my early trade-off decisions have not been
able to take advantage of the more recent JS engine optimizations. The next
major revision will focus on optimizations for Chrome.
Original comment by Jeff.Mott.OR
on 21 Jan 2013 at 6:36