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
874 stars 180 forks source link

DOC: Recommended way of using asv with C++ applications #1361

Open pkp124 opened 10 months ago

pkp124 commented 10 months ago

Hello,

We work with C++ applications meant to be run on target hardwares or simulators etc , and we are looking at some open source benchmark frameworks which help us track our various benchmark suites over different platforms and git branches. ASV seems very interesting, could you please help us in how to get started with ASV for C++ applications, where the benchmarks are run on different target hardware platforms. What would be the recommended way to use asv with C++ applications.

Thanks

HaoZeke commented 9 months ago

I believe the easiest approach would be to a "thin python runner" (e.g. a subprocess wrapper) which you can version and use via the regular ASV Python approach.

Documentation updates would be very welcome, but I'm not sure I have a full example in mind for this at the moment.