You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I met a big performance degradation (about 6 times) with updating node version from 10.13.0 to 11.1.0. The scenario is: calculating many sha1 hashes of small strings (in my case theese are URLs, so about 20-50 bytes each).
Activity
targos commentedon Nov 9, 2018
/cc @nodejs/crypto
Most of the time is spent setting up the deprecated
_handleproperty here:node/lib/internal/crypto/util.js
Lines 35 to 43 in 52c548b
targos commentedon Nov 9, 2018
I'm trying a fix
crypto: put legacy _handle accessors on prototypes
targos commentedon Nov 9, 2018
#24269
tniessen commentedon Nov 9, 2018
Thanks for reporting this, @SergeyFromHell, and thanks for fixing it, @targos!
crypto: put legacy _handle accessors on prototypes
crypto: put legacy _handle accessors on prototypes
crypto: put legacy _handle accessors on prototypes