News: 0001462363

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Fedora Cleared To Build Python Package With "-O3" Optimizations

([Fedora] 2 Hours Ago Fedora Python -O3 Optimized)


The Fedora Engineering and Steering Committee (FESCo) has signed off on the plans for [1]Fedora 41 to build its Python using the "-O3" compiler optimization level rather than the "-O2" default for Fedora packages in the name of better performance.

There's been a proposal with Fedora 41 to use the -O3 compiler flag for better optimizations than the existing -O2 for the Python build. The -O3 optimization level is what upstream Python uses for its release builds and is proven that "it makes Python significantly faster" across a range of benchmarks/workloads. On a geo mean basis this makes Fedora's Python around 4% faster while some individual benchmarks see much more significant improvements.

The [2]change proposal is summed up as:

"Faster Python, faster Fedora."

FESCo has [3]approved the -O3 optimization level change for Python to happen with the in-development Fedora 41.



[1] https://www.phoronix.com/news/Fedora-41-O3-Python-Proposal

[2] https://fedoraproject.org/wiki/Changes/Python_built_with_gcc_O3

[3] https://pagure.io/fesco/issue/3202



skeevy420

npwx

edxposed

dralley

Calinou

I just uploaded xtoolplaces-1.6. It fixes all bugs but one: It still
coredumps instead of doing something useful. The upstream author's
e-mail address bounces, Redhat doesn't provide it and I never used it.
-- Sven Rudolph <sr1@os.inf.tu-dresden.de>