I have added a workflow that runs the benchmarks in
[https://github.com/smithdc1/django-asv smithdc1/django-asv] against a
pull request when it is labeled with the label '''benchmark'''. If the
performance has not changed significantly, a pull request status message
''' Benchmarking Result - BENCHMARKS NOT CHANGED SIGNIFICANTLY''' is
added, if the performance has decreased a pull request status message '''
Benchmarking Result - SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY.
PERFORMANCE DECREASED ''' is added.
The workflow only gets triggered when the PR's which are made after the
workflow has been added are labeled.
--
Ticket URL: <https://code.djangoproject.com/ticket/33862>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* cc: David Smith (added)
* type: Uncategorized => New feature
* component: Uncategorized => Testing framework
* stage: Unreviewed => Accepted
Comment:
Hey Deepak — Thanks.
Let's accept this. I'm not 100% clear immediately on the relation between
the workflows across repos — but I'm guessing it's easier to see in code:
if you open a PR on django/django for what needs adding, that would be
great.
Maybe a scheduled trigger every X days (or every Monday, for example)
would be useful too. 🤔
--
Ticket URL: <https://code.djangoproject.com/ticket/33862#comment:1>
Comment (by Deepak Dinesh):
A scheduled trigger has been added to smitdc1/django-asv, it currently
runs once every day but I will change it to every Monday at a later stage.
--
Ticket URL: <https://code.djangoproject.com/ticket/33862#comment:2>
* needs_better_patch: 0 => 1
* needs_docs: 0 => 1
Comment:
Hey Deepak I'm going to mark this needing improvement*, whilst we resolve
the details about the repo-interactions.
I'm looking at that now — will comment on the ASV repo.
*: And docs: we'll need to tell folks at least that the ASV project
exists, and how to mark a PR for benchmarking (in the wiki at least, if
not the contributing guide.)
--
Ticket URL: <https://code.djangoproject.com/ticket/33862#comment:3>
* owner: nobody => Deepak Dinesh
--
Ticket URL: <https://code.djangoproject.com/ticket/33862#comment:4>
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
* needs_docs: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/33862#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"982a970251bf2255a5fb587d3e953a2fcd563107" 982a9702]:
{{{
#!CommitTicketReference repository=""
revision="982a970251bf2255a5fb587d3e953a2fcd563107"
Fixed #33862 -- Added workflow to run the ASV benchmarks for labeled PR.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33862#comment:6>