Skip to content
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

benchmarks: add simple parse and test benchmarks for URLPattern #56882

Merged

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Feb 2, 2025

Add a couple of simple benchmarks for URLPattern that we can use to help judge performance improvements.

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/performance

@nodejs-github-bot nodejs-github-bot added benchmark Issues and PRs related to the benchmark subsystem. url Issues and PRs related to the legacy built-in url module. whatwg-url Issues and PRs related to the WHATWG URL implementation. labels Feb 2, 2025
@jasnell jasnell added whatwg-urlpattern and removed url Issues and PRs related to the legacy built-in url module. whatwg-url Issues and PRs related to the WHATWG URL implementation. labels Feb 2, 2025
@jasnell jasnell requested review from anonrig and legendecas February 2, 2025 17:55
@nodejs-github-bot

This comment was marked as outdated.

@jasnell jasnell force-pushed the jasnell/urlpattern-benchmarks branch from abd9d6b to ce74a22 Compare February 2, 2025 17:58
@anonrig
Copy link
Member

anonrig commented Feb 2, 2025

I think you also need to create a file in tests folder for validating the benchmark.

@jasnell
Copy link
Member Author

jasnell commented Feb 2, 2025

I think you also need to create a file in tests folder for validating the benchmark.

Because the new benchmarks are in the url group it's already covered by the existing test-benchmark-url

@jasnell jasnell added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Feb 2, 2025
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as duplicate.

@nodejs-github-bot

This comment was marked as outdated.

@jasnell jasnell added the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 3, 2025
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@jasnell jasnell force-pushed the jasnell/urlpattern-benchmarks branch from 4c0d9b7 to 2919b1e Compare February 3, 2025 15:26
@nodejs-github-bot

This comment was marked as outdated.

@jasnell jasnell force-pushed the jasnell/urlpattern-benchmarks branch from 2919b1e to 3273aed Compare February 3, 2025 17:05
@nodejs-github-bot

This comment was marked as outdated.

@jasnell jasnell force-pushed the jasnell/urlpattern-benchmarks branch from 3273aed to 6c82d76 Compare February 3, 2025 22:24
@nodejs-github-bot

This comment was marked as outdated.

@jasnell jasnell force-pushed the jasnell/urlpattern-benchmarks branch from 6c82d76 to 5590a15 Compare February 3, 2025 23:48
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 4, 2025
@nodejs-github-bot nodejs-github-bot merged commit 3207fda into nodejs:main Feb 4, 2025
46 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 3207fda

targos pushed a commit that referenced this pull request Feb 5, 2025
PR-URL: #56882
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Vinícius Lourenço Claro Cardoso <[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. benchmark Issues and PRs related to the benchmark subsystem. whatwg-urlpattern
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants