psf / pyperf

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

Generate perf stats #122

Open markshannon opened 2 years ago

markshannon commented 2 years ago

As well as simple timings, it would be useful to have access to the stats generated by perf. Exactly what stats are available will depend very much on the hardware and setup, but perf can generate a lot useful information, e.g.:

This sort of information would be very useful when trying to improve performance. See also, https://github.com/psf/pyperf/issues/107