Closed philipc2 closed 6 days ago
An example of this workflow in action can be seen in this dummy PR on my fork.
This is excellent and very timely for our project. We can tackle some of my comments in another future PR.
The table units of before and after and the function calls look a little verbose.
Thanks for the review! Yeah, the table can definitely be trimmed a bit to look cleaner. I didn't do any processing of the data, simply returned the result of the asv compare
function call.
I'll definitely look into at least removing the Change
column, since that's not being populated at all and is just taking up space.
Overview
Introduces a Github Actions Workflow for running ASV Benchmarks on Pull Requests, getting compared to the
main
branch.The workflow is triggered using the
run-benchmark
label.By default, the workflow is skipped unless it is queued using the label above.
The workflow can be re-queued by removing and adding the label.
Once the workflow is complete, the results are posted (or updated) by a Github Bot.
New benchmarks, including those that test new functionality, can be run using this bot as well. They will fail for older versions that raise an error, but that is expected.
Example screenshot of the output: