airspeed-velocity / asv

Airspeed Velocity: A simple Python benchmarking tool with web-based reporting
https://asv.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
866 stars 181 forks source link

ENH: Make it possible to measure coverage of benchmarked module #1402

Open astrofrog opened 4 months ago

astrofrog commented 4 months ago

It would be nice to provide a way to use asv with the coverage package in order to measure how much of a code base is covered by benchmarks. This is made a little tricky by the fact that asv runs the benchmarks in subprocesses, but it looks like coverage does provide a way to measure coverage in subprocesses

HaoZeke commented 3 months ago

That's an interesting idea! Is the plan to also have this integrated into the dashboard somehow (and therefore be part of say, the results object in some way)?