You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Triage the open "performance" issues on cpython repo #440
IMO1, it is easier to break a large pile of issues into smaller, more manageable pieces, mainly because of its grouping and filtering features, which are, in my opinion, superior to the filtering found in GitHub Issues.
IDLE has almost 300 issues; they are managed/triaged here: IDLE Issues
Footnotes
What works for me may not necessarily work out for others; this is just my personal opinion. ↩
@iritkatriel There are also several performance related PRs that do not have the performance label. I performed a search on github using is:pr is:open optimize -label:performance and is:pr is:open performance -label:performance and hand selected the PRs that (in my opinion) could be either added to the 3.12+ performance related PRs or closed.
There are 16 of them, the links are included in the details below.
@eendebakpt Thanks for the list. I looked at a few and they seem related to open issues with the performance label, so they will be merged or closed when we look at those issues.
Perhaps the simplest way forward is to add the performance label to all those PRs, and then we will look at them just like we look at issues?
@eendebakpt Thanks for the list. I looked at a few and they seem related to open issues with the performance label, so they will be merged or closed when we look at those issues.
Perhaps the simplest way forward is to add the performance label to all those PRs, and then we will look at them just like we look at issues?
How do I know which ones Irit hasn't already triaged? Only one of these has a 'triaged' label. 5 have 'pending'.
(I think Irit's original query was a tiny bit faulty, it excludes the three issues that have both 3.11 and 3.12 labels. Is the intention of the version labels to indicate the first version where the bug occurs?)
The version labels are where we intend to fix the bug. It should be a version that has the issue and can still get the fix (at the time of labelling/relabelling).
I think it would be great to also have indication of where the bug was first observed, this was discussed during the GitHub migration but there is no convenient way to do this with labels so you need to figure it out from the issue’s history (comments and labels that have been removed). Thankfully the version labels were not removed altogether (that was suggested as well).
I filter on 3.12 because the purpose here is to review the old issues. Anything that has 3.12 on it was either recently created or recently triaged.
Apart from 3 stdlib items that would require investigation by a subject matter expert, all the issues on the original list are now either closed or marked 3.12 or pending (i.e., we will decide one way or the other soon, based on responses).
Of the 243 items on the original list, we now have 150 marked performance that are left open. Most of the others were closed, though there were some that remained open but lost the "performance" label because it was not actually relevant.
Activity
erlend-aasland commentedon Aug 1, 2022
Create a GH Project for it so it is easier to break it into smaller, manageable pieces.
iritkatriel commentedon Aug 1, 2022
What would a project give us?
erlend-aasland commentedon Aug 1, 2022
IMO1, it is easier to break a large pile of issues into smaller, more manageable pieces, mainly because of its grouping and filtering features, which are, in my opinion, superior to the filtering found in GitHub Issues.
IDLE has almost 300 issues; they are managed/triaged here: IDLE Issues
Footnotes
What works for me may not necessarily work out for others; this is just my personal opinion. ↩
[-]Triage the open "performance" issue on cpython repo[/-][+]Triage the open "performance" issues on cpython repo[/+]iritkatriel commentedon Aug 30, 2022
I've assigned this to everyone on the team because it's a collective effort.
The way I've been doing this is:
The link in the first comment of this issue excludes the 3.12 issues, so it shows only untriaged items.
erlend-aasland commentedon Aug 30, 2022
... and put a
triagedlabel on it, I presume:iritkatriel commentedon Aug 30, 2022
No, I haven't been doing that.
eendebakpt commentedon Aug 31, 2022
@iritkatriel There are also several performance related PRs that do not have the
performancelabel. I performed a search on github usingis:pr is:open optimize -label:performanceandis:pr is:open performance -label:performanceand hand selected the PRs that (in my opinion) could be either added to the 3.12+ performance related PRs or closed.There are 16 of them, the links are included in the details below.
31-8-2022 potential performance PRs:
super().meth()calls via adaptive superinstructions python/cpython#30992iritkatriel commentedon Aug 31, 2022
@eendebakpt Thanks for the list. I looked at a few and they seem related to open issues with the performance label, so they will be merged or closed when we look at those issues.
Perhaps the simplest way forward is to add the performance label to all those PRs, and then we will look at them just like we look at issues?
eendebakpt commentedon Aug 31, 2022
Sounds good!
gvanrossum commentedon Sep 1, 2022
Looks like someone added the "performance" label to the PRs found by @eendebakpt. The most inclusive query I can do is https://github.com/python/cpython/labels/performance which has 244 open issues.
How do I know which ones Irit hasn't already triaged? Only one of these has a 'triaged' label. 5 have 'pending'.
(I think Irit's original query was a tiny bit faulty, it excludes the three issues that have both 3.11 and 3.12 labels. Is the intention of the version labels to indicate the first version where the bug occurs?)
iritkatriel commentedon Sep 1, 2022
The version labels are where we intend to fix the bug. It should be a version that has the issue and can still get the fix (at the time of labelling/relabelling).
I think it would be great to also have indication of where the bug was first observed, this was discussed during the GitHub migration but there is no convenient way to do this with labels so you need to figure it out from the issue’s history (comments and labels that have been removed). Thankfully the version labels were not removed altogether (that was suggested as well).
I filter on 3.12 because the purpose here is to review the old issues. Anything that has 3.12 on it was either recently created or recently triaged.
iritkatriel commentedon Sep 14, 2022
Closing as complete.
Apart from 3 stdlib items that would require investigation by a subject matter expert, all the issues on the original list are now either closed or marked 3.12 or pending (i.e., we will decide one way or the other soon, based on responses).
Of the 243 items on the original list, we now have 150 marked performance that are left open. Most of the others were closed, though there were some that remained open but lost the "performance" label because it was not actually relevant.