-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Node v11 6x crypto hash performance degradation #24266
Labels
crypto
Issues and PRs related to the crypto subsystem.
performance
Issues and PRs related to the performance of Node.js.
regression
Issues related to regressions.
Comments
vsemozhetbyt
added
crypto
Issues and PRs related to the crypto subsystem.
performance
Issues and PRs related to the performance of Node.js.
labels
Nov 9, 2018
/cc @nodejs/crypto Most of the time is spent setting up the deprecated node/lib/internal/crypto/util.js Lines 35 to 43 in 52c548b
|
I'm trying a fix |
targos
added a commit
to targos/node
that referenced
this issue
Nov 9, 2018
Creating deprecated accessors each time an object is created is very time consuming. Refs: nodejs#22747 Fixes: nodejs#24266
2 tasks
Thanks for reporting this, @SergeyFromHell, and thanks for fixing it, @targos! |
BridgeAR
pushed a commit
that referenced
this issue
Nov 14, 2018
Creating deprecated accessors each time an object is created is very time consuming. Refs: #22747 Fixes: #24266 PR-URL: #24269 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
kiyomizumia
pushed a commit
to kiyomizumia/node
that referenced
this issue
Nov 15, 2018
Creating deprecated accessors each time an object is created is very time consuming. Refs: nodejs#22747 Fixes: nodejs#24266 PR-URL: nodejs#24269 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
crypto
Issues and PRs related to the crypto subsystem.
performance
Issues and PRs related to the performance of Node.js.
regression
Issues related to regressions.
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).
node 10 output:
node 11 output:
The text was updated successfully, but these errors were encountered: