mdboom / pyperf-codspeed

Pyperf plugin to create CodSpeed benchmarks
https://codspeed.io
MIT License
0 stars 0 forks source link

Add hooks to pyperf #6

Open mdboom opened 3 months ago

mdboom commented 3 months ago

It seems inappropriate to add codspeed support directly to pyperf. However, it doesn't currently have hooks to turn instrumentation on/off around the benchmarking code.

Ideally pyperf would be refactored to allow adding plugins or hooks for arbitrary backends. The existing support for pystats could probably be turned into a plugin if that were to happen.