You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow pyperformance to compile CPython with the JIT enabled. #345
I think it's a good idea in order to make it easier for others. The Faster CPython team's infrastructure doesn't actually use pyperformance compile, but in the interests of open source, it probably wouldn't be a bad idea to close the gap there so pyperformance compile is feature-complete and our infrastructure could start using it.
Thanks for confirming that. I guess the only way possible for now is to compile Python outside of pyperformance and then instruct pyperformance to run benchmarks with the just compiled CPython.
I agree with @mdboom, I think it is useful if we can expose the JIT as configuration options.
In the same line of the JIT we could expose the option for free threading as well (in a separate PR).
For the sake of flexibility it would be nice to expose an interface to pass whatever flags we want to the ./configure (but this can come in a further PR).
Activity
brandtbucher commentedon Jun 18, 2024
@mdboom, would this be helpful for us?
mdboom commentedon Jun 18, 2024
I think it's a good idea in order to make it easier for others. The Faster CPython team's infrastructure doesn't actually use
pyperformance compile, but in the interests of open source, it probably wouldn't be a bad idea to close the gap there sopyperformance compileis feature-complete and our infrastructure could start using it.diegorusso commentedon Jun 19, 2024
Thanks for confirming that. I guess the only way possible for now is to compile Python outside of pyperformance and then instruct pyperformance to run benchmarks with the just compiled CPython.
I agree with @mdboom, I think it is useful if we can expose the JIT as configuration options.
In the same line of the JIT we could expose the option for free threading as well (in a separate PR).
For the sake of flexibility it would be nice to expose an interface to pass whatever flags we want to the
./configure(but this can come in a further PR).diegorusso commentedon Aug 22, 2024
PR: #351