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

benchmark: add --runs support to run.js #55158

Merged
merged 5 commits into from
Oct 18, 2024

Conversation

RafaelGSS
Copy link
Member

This PR adds a new flag to benchmark/run.js. You can pass the --runs to define the amount of benchmark suite runs.

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/performance
  • @nodejs/tsc

@RafaelGSS RafaelGSS added the commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. label Sep 29, 2024
@RafaelGSS RafaelGSS added the benchmark Issues and PRs related to the benchmark subsystem. label Oct 17, 2024
@RafaelGSS
Copy link
Member Author

PTAL @H4ad

@RafaelGSS RafaelGSS added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Oct 18, 2024
benchmark/run.js Outdated Show resolved Hide resolved
}
}

run();
Copy link
Member

Choose a reason for hiding this comment

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

Should we handle a possible rejection of this fn? For any reason

Copy link
Member Author

@RafaelGSS RafaelGSS Oct 18, 2024

Choose a reason for hiding this comment

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

It's not necessary, it should not 'reject' and if it rejects, the tests will fail.

@RafaelGSS RafaelGSS added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 18, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 18, 2024
@nodejs-github-bot nodejs-github-bot merged commit 7c0cc12 into nodejs:main Oct 18, 2024
22 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 7c0cc12

aduh95 pushed a commit that referenced this pull request Oct 19, 2024
PR-URL: #55158
Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
@aduh95 aduh95 mentioned this pull request Oct 24, 2024
louwers pushed a commit to louwers/node that referenced this pull request Nov 2, 2024
PR-URL: nodejs#55158
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. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants