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
Run the tests on an --enable-pystats build as part of CI and/or buildbots.
Pitch
In #99701, it was discovered that the --enable-pystats build was broken by an unrelated change. No harm in that -- it's the usual unexpected interaction that happens all the time.
But if we want --enable-pystats to continue to work, we probably need to have some CI for it.
I don't feel super strongly about this -- every new bit of CI has a non-zero maintenance cost, and in this case there is a really small audience for collecting these sorts of stats (mainly those working on the specializing interpreter).
However, if there is enough interest, I did want to suggest it and offer my time to put it together.
Hi @mdboom cc @ericsnowcurrently@vstinner
I think that we need to add this feature for a specific purpose.
I am thinking about the following pipeline and I am going to work on if you don't mind I would like to assign the issue to myself.
Step 1: If the PR author adds the label bytecode-stats then execute step 2, if not stop at this stage.
Step 2: GitHub Action will be executed and the CPython will be built with --enable-pystats.
Step 3: Install pyperformance
Step 4: Run pyperformnace
Step 5: Collect bytecode execution stats.
Step 6: Send a comment to the bytecode execution stat through the PR comment.
By the suggested pipeline, the PR reviewer will be easier to analyze the effects of PR.
If we don't want to add it to the CI, and it is not overly taxing (it's not a massive instance, only 4 cores w/ 24gb), it can be added to my oddballs buildbot.
Activity
corona10 commentedon Dec 11, 2022
Hi @mdboom cc @ericsnowcurrently @vstinner
I think that we need to add this feature for a specific purpose.
I am thinking about the following pipeline and I am going to work on if you don't mind I would like to assign the issue to myself.
Step 1: If the PR author adds the label
bytecode-statsthen execute step 2, if not stop at this stage.Step 2: GitHub Action will be executed and the CPython will be built with
--enable-pystats.Step 3: Install pyperformance
Step 4: Run pyperformnace
Step 5: Collect bytecode execution stats.
Step 6: Send a comment to the bytecode execution stat through the PR comment.
By the suggested pipeline, the PR reviewer will be easier to analyze the effects of PR.
StanFromIreland commentedon Feb 28, 2026
If we don't want to add it to the CI, and it is not overly taxing (it's not a massive instance, only 4 cores w/ 24gb), it can be added to my oddballs buildbot.
StanFromIreland commentedon May 16, 2026
Tested on Oddballs since python/buildmaster-config@6996048