Repository navigation
url: don't update URL immediately on update to URLSearchParams #51520
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
Merged
nodejs-github-bot
merged 18 commits into
nodejs:main
from
MattIPv4:url-searchparams-perf
Jan 24, 2024
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
2b2d11b
url: remove #context from URLSearchParams
MattIPv4 129a1a9
url: rely on URLSearchParams if in use for search
MattIPv4 c2e8526
url: update URLSearchParams directly from URL search setter
MattIPv4 039380e
url: create href using searchParams without bindingUrl call
MattIPv4 e015de2
url: ensure ? is present when relying on URLSearchParams
MattIPv4 2487726
url: don't use public getter for toString/toJSON
MattIPv4 b0270bc
url: update searchParams tests to expect encoded results
MattIPv4 d9c5381
url: only use URLSearchParams as store when modified
MattIPv4 a05675c
url: store search in URL on first access/update after URLSearchParams…
MattIPv4 310d275
url: add benchmark for param append for URL and URLSearchParams
MattIPv4 b118a90
url: add benchmark to check impact of searchParams checking
MattIPv4 916374e
url: reduce diff for changes
MattIPv4 319eaa0
url: more comments to explain lazy searchParams updating
MattIPv4 0c44fb6
url: cleanup from review
MattIPv4 065c45c
url: update variable naming, add more comments, include hash in bench…
MattIPv4 0d0fef8
url: add tests to ensure lazy URLSearchParams is exercised
MattIPv4 e9c4da2
url: fix updating url hash etc. after searchParams update, add test
MattIPv4 04f53a7
url: update tests for invalid this
MattIPv4 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
url: don't use public getter for toString/toJSON
This appears to keep the "calling stringifier with this = {} didn't throw TypeError" test happy- Loading branch information
commit 2487726934472b00aea84bbcd707380cdccc0db0
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.