-
Notifications
You must be signed in to change notification settings - Fork 30k
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
url: refactor to use more primordials #36316
Merged
Merged
Conversation
This file contains 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
aduh95
added
needs-benchmark-ci
PR that need a benchmark CI run.
whatwg-url
Issues and PRs related to the WHATWG URL implementation.
labels
Nov 29, 2020
mscdex
previously requested changes
Nov 30, 2020
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.
There are quite a few performance regressions with these changes:
url/legacy-vs-whatwg-url-searchparams-parse.js n=1000000 method='whatwg' searchParam='encodefake' *** -14.06 % ±3.44% ±4.62% ±6.12%
url/legacy-vs-whatwg-url-searchparams-parse.js n=1000000 method='whatwg' searchParam='encodemany' *** -5.30 % ±2.01% ±2.67% ±3.48%
url/legacy-vs-whatwg-url-searchparams-parse.js n=1000000 method='whatwg' searchParam='manypairs' *** -33.05 % ±2.70% ±3.63% ±4.80%
url/legacy-vs-whatwg-url-searchparams-parse.js n=1000000 method='whatwg' searchParam='multicharsep' *** -15.20 % ±2.71% ±3.64% ±4.80%
url/legacy-vs-whatwg-url-searchparams-parse.js n=1000000 method='whatwg' searchParam='multivalue' *** -17.42 % ±4.68% ±6.31% ±8.36%
url/legacy-vs-whatwg-url-searchparams-parse.js n=1000000 method='whatwg' searchParam='multivaluemany' *** -21.22 % ±1.89% ±2.54% ±3.35%
url/legacy-vs-whatwg-url-searchparams-parse.js n=1000000 method='whatwg' searchParam='noencode' *** -23.02 % ±5.13% ±6.91% ±9.17%
url/url-searchparams-iteration.js n=1000000 loopMethod='forEach' *** -48.89 % ±1.47% ±1.97% ±2.60%
url/url-searchparams-read.js n=20000000 param='one' accessMethod='getAll' *** -3.59 % ±1.19% ±1.58% ±2.06%
url/url-searchparams-read.js n=20000000 param='three' accessMethod='getAll' *** -19.54 % ±2.22% ±2.95% ±3.85%
url/url-searchparams-read.js n=20000000 param='two' accessMethod='getAll' *** -6.40 % ±1.75% ±2.33% ±3.04%
@mscdex I've removed the changes causing significant perf regression, PTAL Benchmark CI: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/795/console Results
|
aduh95
added
review wanted
PRs that need reviews.
and removed
needs-benchmark-ci
PR that need a benchmark CI run.
labels
Dec 24, 2020
github-actions
bot
removed
the
request-ci
Add this label to start a Jenkins CI on a PR.
label
Dec 24, 2020
Trott
approved these changes
Dec 25, 2020
aduh95
added
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Dec 25, 2020
github-actions
bot
added
commit-queue-failed
An error occurred while landing this pull request using GitHub Actions.
and removed
commit-queue
Add this label to land a pull request using GitHub Actions.
labels
Dec 25, 2020
Commit Queue failed- Loading data for nodejs/node/pull/36316 ✔ Done loading data for nodejs/node/pull/36316 ----------------------------------- PR info ------------------------------------ Title url: refactor to use more primordials (#36316) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch aduh95:url-primordials -> nodejs:master Labels review wanted, whatwg-url Commits 2 - url: refactor to use more primordials - fixup! url: refactor to use more primordials Committers 1 - Antoine du Hamel PR-URL: https://github.com/nodejs/node/pull/36316 Reviewed-By: Rich Trott ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/36316 Reviewed-By: Rich Trott -------------------------------------------------------------------------------- ✖ Last GitHub CI failed ℹ Last Benchmark CI on 2020-12-24T10:06:18Z: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/795/console ℹ Last Full PR CI on 2020-12-24T15:20:35Z: https://ci.nodejs.org/job/node-test-pull-request/35064/ - Querying data for job/node-test-pull-request/35064/ ✔ Build data downloaded ✔ Last Jenkins CI successful ℹ This PR was created on Sun, 29 Nov 2020 17:54:03 GMT ✔ Approvals: 1 ✔ - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/36316#pullrequestreview-558821900 -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/444394775 |
PR-URL: nodejs#36316 Reviewed-By: Rich Trott <[email protected]>
aduh95
force-pushed
the
url-primordials
branch
from
December 25, 2020 18:50
77a6dd3
to
5d28edc
Compare
Landed in 5d28edc |
danielleadams
pushed a commit
that referenced
this pull request
Jan 12, 2021
PR-URL: #36316 Reviewed-By: Rich Trott <[email protected]>
Merged
targos
pushed a commit
that referenced
this pull request
May 25, 2021
PR-URL: #36316 Reviewed-By: Rich Trott <[email protected]>
targos
pushed a commit
that referenced
this pull request
Jun 5, 2021
PR-URL: #36316 Reviewed-By: Rich Trott <[email protected]>
targos
pushed a commit
that referenced
this pull request
Jun 11, 2021
PR-URL: #36316 Reviewed-By: Rich Trott <[email protected]>
targos
removed
the
commit-queue-failed
An error occurred while landing this pull request using GitHub Actions.
label
Sep 5, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
review wanted
PRs that need reviews.
whatwg-url
Issues and PRs related to the WHATWG URL implementation.
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.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes