-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
benchmark: add --runs support to run.js #55158
Conversation
Review requested:
|
af115d3
to
3ae3cf8
Compare
Co-authored-by: Antoine du Hamel <[email protected]>
3ae3cf8
to
8bd9e7f
Compare
PTAL @H4ad |
} | ||
} | ||
|
||
run(); |
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.
Should we handle a possible rejection of this fn? For any reason
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.
It's not necessary, it should not 'reject' and if it rejects, the tests will fail.
Landed in 7c0cc12 |
PR-URL: #55158 Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
PR-URL: nodejs#55158 Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
This PR adds a new flag to benchmark/run.js. You can pass the
--runs
to define the amount of benchmark suite runs.