pyperformance icon indicating copy to clipboard operation
pyperformance copied to clipboard

Allow pyperformance to compile CPython with the JIT enabled.

Open diegorusso opened this issue 8 months ago • 3 comments

From 3.13, CPython can be built with the JIT and it doesn't seem to be the way to pass custom flags to the configure or the compile step: https://github.com/python/pyperformance/blob/784d0421f387f6245ecbbe744a530c238c60c741/pyperformance/compile.py#L277

It would be nice to have either:

  • a way to pass custom flags to the configure via CLI/benchmark.conf
  • hard code the jit (like lto/pgo) in the benchmark.conf

I don't have strong opinions for both implementations and TBH we could have both. The former is more generic and flexible, the latter more explicit.

diegorusso avatar Jun 18 '24 17:06 diegorusso