-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
querystring: simplify stringify method #26591
Conversation
Benchmark CI: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/303/console These results show a slight regression for |
CI: https://ci.nodejs.org/job/node-test-pull-request/21657/ Benchmark CI: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/305/console
So slightly the performance improved, but at least an improvement right ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code changes are LGTM. The case optimized is very rare, thus adding extra benchmark types does not seem right to me.
PR-URL: nodejs#26591 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Landed in b965ac2 🎉 |
PR-URL: #26591 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
PR-URL: #26591 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Since there is no obvious improvement in
stringify
method, try to simplifystringify
method without performance regression.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes