psf / pyperf

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

Support custom loop factory in bench_async_func #156

Closed itamaro closed 1 year ago

itamaro commented 1 year ago

It may be desirable to use a custom event loop in an async benchmark (e.g. for benchmarking https://github.com/python/cpython/issues/97696)

bench_async_func currently doesn't support that - it will always use the default loop