| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
- Implement O(N) pre-allocation for URLSearchParams.prototype.toString() - Add string concatenation fast-path for short strings in encodeStr - Align internal serialization with fast-querystring patterns Fixes: nodejs/performance#56
|
Review requested:
|
Sorry, something went wrong.
There was a problem hiding this comment.
Did you run the microbenchmarks you added?
Sorry, something went wrong.
| @@ -0,0 +1,93 @@ | |||
| # Performance Report: URLSearchParams and Querystring Optimization | |||
|
|
|||
| ## 1. Executive Summary | |||
There was a problem hiding this comment.
Remove this file.
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #61896 +/- ##
==========================================
- Coverage 91.77% 89.77% -2.00%
==========================================
Files 338 674 +336
Lines 140064 204923 +64859
Branches 22045 39392 +17347
==========================================
+ Hits 128543 183972 +55429
- Misses 11298 13229 +1931
- Partials 223 7722 +7499
... and 459 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
|
This pull request has been marked as stale due to 90 days of inactivity. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
This PR optimizes the performance of URLSearchParams.prototype.toString() and the internal encodeStr utility used by querystring.
Technical Details
Performance Results (AMD Ryzen 7)
Detailed data is included in the committed PERFORMANCE_REPORT.md.
Fixes: nodejs/performance#56
Refs: #61896