-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
fix benchmark action #2656
fix benchmark action #2656
Conversation
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
*beep* *bop* Hi, human. I'm the @tardis-bot and couldn't find your records in my database. I think we don't know each other, or you changed your credentials recently. Please add your name and email to In case you need to map an existing alias, follow this example. |
600108c
to
cbefb9e
Compare
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com> test commit
5b135bc
to
abeeb4f
Compare
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Please test by making a version on your fork and add link to test results here |
5dcaa32
to
aea28c5
Compare
https://github.com/AkashKumar7902/tardis/actions/runs/9705432873/job/26787490302?pr=6 the error in the later half is due to the generation of file which is relying upon tardis repo. The compare is working which means the bot will display the comparision output. |
a67d5b9
to
e5d00a8
Compare
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
e5d00a8
to
de3533b
Compare
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
.github/workflows/benchmarks.yml
Outdated
@@ -80,6 +85,9 @@ jobs: | |||
- name: Install asv | |||
run: pip install asv | |||
|
|||
- run: git remote add upstream https://github.com/tardis-sn/tardis |
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.
Commands have no label
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.
Added
.github/workflows/benchmarks.yml
Outdated
|
||
- name: Compare Master and PR head | ||
run: asv compare ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | tee asv-compare-output.log | ||
run: asv compare upstream/master HEAD --config asv.conf.json | tee asv-compare-output.log |
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.
This is hardcoded
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.
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.
Yes, I suppose so
This workflow used this workflow file- |
Here is the new workflow run: https://github.com/officialasishkumar/tardis/actions/runs/9746049892/job/26895430197?pr=13 |
The workflow runs on this commit- Not the master branch as far as I understand. Click on the workflow file on the left side of this page- then click on commit hash, then browse files, and you will see this |
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
@atharva-2001, the workflow file might be because my branch is not really updated with master for a while (approx 2 months). I think the workflow is running with the current master branch as you can see in the build that the jobs that are runned are aligned with the current changes and not the old one. |
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
43c0849
to
1d6fdc2
Compare
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
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.
I think we should try and merge this before we worry about solving the crashing individual benchmarks in #2640
.github/workflows/benchmarks.yml
Outdated
- name: Fetch from upstream master | ||
run: | | ||
git remote add upstream https://github.com/tardis-sn/tardis | ||
git fetch upstream master |
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.
this is what the checkout does right? Perhaps you could just do git remote add upstream URL?
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.
what do you mean? git remote add upstream url is already present.
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.
The first step just does this, perhaps the remote is origin there. If yes then we can perhaps reduce this step here.
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.
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.
By default I think it is origin, so it does not find upstream, just rename origin to upstream if you don;t want origin
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.
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.
Thanks
.github/workflows/benchmarks.yml
Outdated
- name: Fetch from upstream master | ||
run: | | ||
git remote add upstream https://github.com/tardis-sn/tardis | ||
git fetch upstream master |
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.
The first step just does this, perhaps the remote is origin there. If yes then we can perhaps reduce this step here.
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
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.
Great work!
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.
If Atharva is happy, I am also happy. Cross your fingers!
📝 Description
Type: 🪲 🚀
📌 Resources
Examples, notebooks, and links to useful references.
🚦 Testing
How did you test these changes?
☑️ Checklist
build_docs
label