-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
errors: improve performance of determineSpecificType #49696
Merged
nodejs-github-bot
merged 1 commit into
nodejs:main
from
Uzlopak:improve-determine-specific-type
Sep 30, 2023
Merged
errors: improve performance of determineSpecificType #49696
nodejs-github-bot
merged 1 commit into
nodejs:main
from
Uzlopak:improve-determine-specific-type
Sep 30, 2023
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
nodejs-github-bot
added
errors
Issues and PRs related to JavaScript errors originated in Node.js core.
needs-ci
PRs that need a full CI run.
labels
Sep 18, 2023
Uzlopak
changed the title
errors: improve performance of determine-specific-type
errors: improve performance of determineSpecificType
Sep 18, 2023
can you mark this as author-ready please? |
The tests are failing @Uzlopak |
Oha. Will focus on this when the other PR got merged. |
@anonrig |
anonrig
approved these changes
Sep 20, 2023
anonrig
added
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
needs-benchmark-ci
PR that need a benchmark CI run.
labels
Sep 20, 2023
github-actions
bot
removed
the
request-ci
Add this label to start a Jenkins CI on a PR.
label
Sep 20, 2023
22 tasks
MoLow
approved these changes
Sep 21, 2023
17 tasks
Can this be merged? |
This was referenced Sep 23, 2023
We can merge this once the CI finishes. Pending benchmark CI: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/1420/ |
anonrig
approved these changes
Sep 25, 2023
github-actions
bot
removed
the
request-ci
Add this label to start a Jenkins CI on a PR.
label
Sep 25, 2023
anonrig
added
commit-queue
Add this label to land a pull request using GitHub Actions.
commit-queue-squash
Add this label to instruct the Commit Queue to squash all the PR commits into the first one.
labels
Sep 25, 2023
nodejs-github-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
Sep 26, 2023
Commit Queue failed- Loading data for nodejs/node/pull/49696 ✔ Done loading data for nodejs/node/pull/49696 ----------------------------------- PR info ------------------------------------ Title errors: improve performance of determineSpecificType (#49696) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch Uzlopak:improve-determine-specific-type -> nodejs:main Labels errors, author ready, needs-ci, needs-benchmark-ci, commit-queue-squash Commits 8 - errors: improve performance of determine-specific-type - fix lint - fix lint - fix function serialization - Merge branch 'main' into improve-determine-specific-type - fix invalidArgTypeHelper - fix test - Merge branch 'main' into improve-determine-specific-type Committers 2 - uzlopak - GitHub PR-URL: https://github.com/nodejs/node/pull/49696 Reviewed-By: Yagiz Nizipli Reviewed-By: Moshe Atlow ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/49696 Reviewed-By: Yagiz Nizipli Reviewed-By: Moshe Atlow -------------------------------------------------------------------------------- ℹ This PR was created on Mon, 18 Sep 2023 03:57:53 GMT ✔ Approvals: 2 ✔ - Yagiz Nizipli (@anonrig) (TSC): https://github.com/nodejs/node/pull/49696#pullrequestreview-1642824192 ✔ - Moshe Atlow (@MoLow) (TSC): https://github.com/nodejs/node/pull/49696#pullrequestreview-1636924932 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2023-09-25T19:11:17Z: https://ci.nodejs.org/job/node-test-pull-request/54226/ ℹ Last Benchmark CI on 2023-09-25T19:05:12Z: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/1420/ - Querying data for job/node-test-pull-request/54226/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ✔ origin/main is now up-to-date - Downloading patch for 49696 From https://github.com/nodejs/node * branch refs/pull/49696/merge -> FETCH_HEAD ✔ Fetched commits as f16f41c5b3cf..3d4b956b2292 -------------------------------------------------------------------------------- Auto-merging lib/internal/errors.js [main 2ca76c9a83] errors: improve performance of determine-specific-type Author: uzlopak Date: Mon Sep 18 05:56:37 2023 +0200 3 files changed, 136 insertions(+), 15 deletions(-) create mode 100644 benchmark/error/determine-specific-type.js Auto-merging lib/internal/errors.js [main 6873f4acda] fix lint Author: uzlopak Date: Mon Sep 18 06:04:59 2023 +0200 1 file changed, 3 insertions(+), 3 deletions(-) [main 1cdfaf7533] fix lint Author: uzlopak Date: Mon Sep 18 06:07:13 2023 +0200 1 file changed, 1 insertion(+), 1 deletion(-) Auto-merging lib/internal/errors.js error: commit 99f6196abb3604436614d0f18a406b14be2cc0b1 is a merge but no -m option was given. fatal: cherry-pick failed [main d4c38b51f3] fix function serialization Author: uzlopak Date: Mon Sep 18 19:00:20 2023 +0200 2 files changed, 34 insertions(+), 5 deletions(-) ✘ Failed to apply patcheshttps://github.com/nodejs/node/actions/runs/6306204198 |
Uzlopak
force-pushed
the
improve-determine-specific-type
branch
from
September 27, 2023 16:35
3d4b956
to
d3bd644
Compare
anonrig
added
request-ci
Add this label to start a Jenkins CI on a PR.
and removed
commit-queue-failed
An error occurred while landing this pull request using GitHub Actions.
labels
Sep 29, 2023
anonrig
approved these changes
Sep 29, 2023
github-actions
bot
removed
the
request-ci
Add this label to start a Jenkins CI on a PR.
label
Sep 29, 2023
31 tasks
anonrig
added
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Sep 30, 2023
nodejs-github-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
Sep 30, 2023
Commit Queue failed- Loading data for nodejs/node/pull/49696 ✔ Done loading data for nodejs/node/pull/49696 ----------------------------------- PR info ------------------------------------ Title errors: improve performance of determineSpecificType (#49696) Author Aras Abbasi (@Uzlopak) Branch Uzlopak:improve-determine-specific-type -> nodejs:main Labels errors, author ready, needs-ci, needs-benchmark-ci, commit-queue-squash Commits 1 - errors: improve performance of determine-specific-type Committers 1 - uzlopak PR-URL: https://github.com/nodejs/node/pull/49696 Reviewed-By: Yagiz Nizipli Reviewed-By: Moshe Atlow ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/49696 Reviewed-By: Yagiz Nizipli Reviewed-By: Moshe Atlow -------------------------------------------------------------------------------- ℹ This PR was created on Mon, 18 Sep 2023 03:57:53 GMT ✔ Approvals: 2 ✔ - Yagiz Nizipli (@anonrig) (TSC): https://github.com/nodejs/node/pull/49696#pullrequestreview-1649996712 ✔ - Moshe Atlow (@MoLow) (TSC): https://github.com/nodejs/node/pull/49696#pullrequestreview-1636924932 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2023-09-29T11:35:22Z: https://ci.nodejs.org/job/node-test-pull-request/54367/ ℹ Last Benchmark CI on 2023-09-26T00:02:28Z: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/1420/ - Querying data for job/node-test-pull-request/54367/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ✔ origin/main is now up-to-date - Downloading patch for 49696 From https://github.com/nodejs/node * branch refs/pull/49696/merge -> FETCH_HEAD ✔ Fetched commits as 51f4ff245018..d3bd644908c9 -------------------------------------------------------------------------------- error: cherry-pick is already in progress hint: try "git cherry-pick (--continue | --abort | --quit)" fatal: cherry-pick failed ✘ Failed to apply patcheshttps://github.com/nodejs/node/actions/runs/6359670729 |
aduh95
added
commit-queue
Add this label to land a pull request using GitHub Actions.
and removed
commit-queue-failed
An error occurred while landing this pull request using GitHub Actions.
labels
Sep 30, 2023
nodejs-github-bot
removed
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Sep 30, 2023
Landed in 0ee9c83 |
GeoffreyBooth
pushed a commit
to GeoffreyBooth/node
that referenced
this pull request
Oct 1, 2023
PR-URL: nodejs#49696 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
alexfernandez
pushed a commit
to alexfernandez/node
that referenced
this pull request
Nov 1, 2023
PR-URL: nodejs#49696 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
targos
pushed a commit
that referenced
this pull request
Nov 11, 2023
PR-URL: #49696 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
debadree25
pushed a commit
to debadree25/node
that referenced
this pull request
Apr 15, 2024
PR-URL: nodejs#49696 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
commit-queue-squash
Add this label to instruct the Commit Queue to squash all the PR commits into the first one.
errors
Issues and PRs related to JavaScript errors originated in Node.js core.
needs-benchmark-ci
PR that need a benchmark CI run.
needs-ci
PRs that need a full CI run.
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.
This PR improves the function determineSpecificType in errors.js.
Also fixes a bug, where a string would be sliced without the single tick at the end of the string.
Added unit tests. Added benchmarks based on unit tests.
main:
PR: