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

Add benchmark script #156

Merged
merged 5 commits into from
Apr 8, 2024
Merged

Add benchmark script #156

merged 5 commits into from
Apr 8, 2024

Conversation

rluvaton
Copy link
Member

@rluvaton rluvaton commented Apr 8, 2024

gareth-ellis and others added 4 commits April 8, 2024 12:04
Benchmarking: Commit script for running subset of benchmarks to test a PR

Squashing commits:
* Adding prototype for running test against a pr
* Setting to use default RUNS too
* Addressing points and also setting default runs to 30 to match the scripts in node/benchmark
*  Updating usage
* Rework to make it less hacky
PR-URL: nodejs/benchmarking#194
Reviewed-By: Michael Dawson <mhdawson@ca.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
* src: allow 3 way merge for bench runs

Add 3 way merge option so that more PR's can be
tested with this job
https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/

PR-URL: nodejs/benchmarking#287
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
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.

The git history is quite odd, could you fix it?

fileName=output`date +%d%m%y-%H%M%S`.csv
echo "Output will be saved to $fileName"
pwd
./node-master benchmark/compare.js --old ./node-master --new ./node-pr $FILTER $RUNS -- $CATEGORY | tee $fileName
Copy link
Member

Choose a reason for hiding this comment

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

Please add the CPUSET instruction.

Copy link
Member Author

Choose a reason for hiding this comment

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

I wanted to add in different pr, just creating this with the history of the original file

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed git history

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

@rluvaton rluvaton merged commit 9937e2a into main Apr 8, 2024
@rluvaton rluvaton deleted the add-benchmark-script branch April 8, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants