On 22. 11. 22 18:30, Miro Hrončok wrote:
On 21. 11. 22 11:01, Petr Viktorin wrote:
> And since the Python slowdown comes from a single weird function, I
> think that Fedora should ignore the Python benchmarks when evaluating
> the distro default -- and if Fedora switches to no-omit-frame-pointer,
> Python 3.11 should be an exception (to be re-evaluated for 3.12).
Do I interpret correctly?
If (and only if) Fedora switches to -fno-omit-frame-pointer, python3.11
(and possibly older Pythons) will explicitly use -fomit-frame-pointer
instead (aka opt-out).
Yes. If the change allows software to opt out (e.g. if it's slowed down
too much), then, based on the benchmarks, Python 3.11 should do that.
python3.12 will do the same for now.
Or not, if that would help testing. I don't think the speed of the
preview Python matters that much.
Once the massive changes to _PyEval_EvalFrameDefault land in Python
3.12, we will re-evaluate whether to use -fomit-frame-pointer or
-fno-omit-frame-pointer (regardless of the Fedora global flags).
That might not be a single point in time, so let's perhaps re-evaluate