psf / pyperf

Toolkit to run Python benchmarks
http://pyperf.readthedocs.io/
MIT License
782 stars 77 forks source link

Allow specifying whether JIT is enabled. #128

Open eliphatfs opened 2 years ago

eliphatfs commented 2 years ago

pyperf has different warmup policies for JIT and non-JIT implementations, and for instance -- if a new python implementation is under development for some research purpose: it introduces JIT and does not want to name itself pypy or graalpython, but pyperf will not detect it as an implementation with JIT.

https://github.com/psf/pyperf/blob/main/pyperf/_utils.py#L204