Bug 2279768 - Python built with gcc -O3
Summary: Python built with gcc -O3
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Fedora
Classification: Fedora
Component: Changes Tracking
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact:
URL:
Whiteboard:
Depends On: PYTHON3.13
Blocks: F41Changes
TreeView+ depends on / blocked
 
Reported: 2024-05-08 15:58 UTC by Aoife Moloney
Modified: 2024-11-06 13:31 UTC (History)
2 users (show)

Fixed In Version: python3.13-3.13.0~b1-1.fc41
Clone Of:
Environment:
Last Closed: 2024-11-06 13:31:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python3.13 pull-request 58 0 None None None 2024-05-08 18:58:31 UTC

Description Aoife Moloney 2024-05-08 15:58:27 UTC
This is a tracking bug for Change: Python built with gcc -O3
For more details, see: https://fedoraproject.org/wiki/Changes/Python_built_with_gcc_O3

Instead of Fedora's default -O2 compiler flag, we will use -O3 to build CPython.
This only impacts the interpreter and Python standard library, not any 3rd party extension modules built as RPM or on developer machines.
This aligns with the way Python is built upstream.
According to our performance measurements, it makes Python significantly faster (pyperformance geometric mean: 1.04x faster).

If you encounter a bug related to this Change, please do not comment here. Instead create a new bug and set it to block this bug.

Comment 1 Tomas Orsava 2024-05-22 12:21:33 UTC
This is now live in Python 3.13. Waiting for Python 3.13 to become the main Python before considering backports to other places.

Comment 2 Miro Hrončok 2024-06-12 15:17:40 UTC
Python 3.13 is the main Python now.


Note You need to log in before you can comment on or make changes to this bug.