astral-sh / astral-sh/python-build-standalone

Consider making PGO the default build of python-build-standalone

Open
#1,240 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.4k
Forks
314
Avg merge
1d 9h
Merged PRs (30d)
27

Description

Linux From Scratch has made PGO the default for Python since version [11.0](https://www.linuxfromscratch.org/lfs/view/11.0/chapter08/Python.html). All other distros besides Gentoo enable PGO (Profile Guided Optimization) by default when building Python. GCC and Clang both support compiling programs with PGO.

So it's a good idea to see if we can approve to make PGO the default build of the python-build-standalone project.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the build configuration and existing PGO handling, then compare the Linux From Scratch and other distribution defaults cited in the issue. Done means deciding whether PGO should be enabled by default across supported builds and documenting or testing the resulting build behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.