python / python/pyperformance

Feature request: Support --enable-pystats

Open
#131 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1k
Forks
203
Avg merge
1h 20m
Merged PRs (30d)
2

Description

It is useful to be able to get stats from the various benchmark suites.
Currently that involves making a custom branch with stats enabled, and benchmarking that.
Since CPython's configure has a --enable-pystats it would be nice to be able to turn that on from the config file.

It would be great if the config.ini file had an option for stats, much as it already has options for debug, pgo and lto.

E.g.

# Turn on stats?
stats = False

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting config.ini handling and the existing debug, pgo, and lto options. Trace how those options affect CPython configuration, then add the corresponding stats behavior so the config can enable --enable-pystats; done means benchmark runs can use stats without a custom branch.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.