Skip to content

Conversation

anonrig
Copy link
Member

@anonrig anonrig commented May 8, 2023

We're planning on improving the performance of ada::can_parse and added this function in 2.3.1 release. This would make things a lot easier and more readable for Node.js.

cc @KhafraDev @nodejs/url

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/url

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. whatwg-url Issues and PRs related to the WHATWG URL implementation. labels May 8, 2023
@anonrig anonrig requested review from TimothyGu and KhafraDev May 8, 2023 15:44
Copy link
Member

@lemire lemire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This opens up future optimization opportunities.

@anonrig anonrig added the request-ci Add this label to start a Jenkins CI on a PR. label May 8, 2023
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 8, 2023
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@anonrig
Copy link
Member Author

anonrig commented May 9, 2023

@nodejs/build I couldn't understand the root cause of the error in Test ASan build. Any ideas?

Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but looks like there's an asan issue in ada::url that needs looking at.

@Trott
Copy link
Member

Trott commented May 10, 2023

LGTM but looks like there's an asan issue in ada::url that needs looking at.

Because the ASan output is massive and the relevant part can be hard to find, here's a link to the relevant part: https://github.com/nodejs/node/actions/runs/4929741771/jobs/8809762438?pr=47919#step:6:5394

Be patient while it loads. The relevant line starts with ==168106==ERROR:.

@Trott
Copy link
Member

Trott commented May 10, 2023

LGTM but looks like there's an asan issue in ada::url that needs looking at.

Because the ASan output is massive and the relevant part can be hard to find, here's a link to the relevant part: https://github.com/nodejs/node/actions/runs/4929741771/jobs/8809762438?pr=47919#step:6:5394

Be patient while it loads. The relevant line starts with ==168106==ERROR:.

Ugh, that link didn't work. You need to scroll back up to line 5393.

@anonrig
Copy link
Member Author

anonrig commented May 10, 2023

Because the ASan output is massive and the relevant part can be hard to find, here's a link to the relevant part: https://github.com/nodejs/node/actions/runs/4929741771/jobs/8809762438?pr=47919#step:6:5394

Be patient while it loads. The relevant line starts with ==168106==ERROR:.

@lemire do you have any idea about the root cause of this error?

@lemire
Copy link
Member

lemire commented May 10, 2023

@Trott I suspect it is not in ada that we have a memory error. See my comment above.

@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 17, 2023
@nodejs-github-bot
Copy link
Collaborator

@anonrig anonrig added the request-ci Add this label to start a Jenkins CI on a PR. label May 18, 2023
Copy link
Member

@RaisinTen RaisinTen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 18, 2023
@nodejs-github-bot
Copy link
Collaborator

@anonrig anonrig added the commit-queue Add this label to land a pull request using GitHub Actions. label May 18, 2023
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 18, 2023
@nodejs-github-bot nodejs-github-bot merged commit 8b6947f into main May 18, 2023
@nodejs-github-bot nodejs-github-bot deleted the ada-can-parse branch May 18, 2023 17:49
@nodejs-github-bot
Copy link
Collaborator

Landed in 8b6947f

fasenderos pushed a commit to fasenderos/node that referenced this pull request May 22, 2023
PR-URL: nodejs#47919
Reviewed-By: Matthew Aitken <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
targos pushed a commit that referenced this pull request May 30, 2023
PR-URL: #47919
Reviewed-By: Matthew Aitken <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
@targos targos mentioned this pull request Jun 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. whatwg-url Issues and PRs related to the WHATWG URL implementation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants