martinus / nanobench

Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20
https://nanobench.ankerl.com
MIT License
1.43k stars 82 forks source link

Question: configure default markdown output #97

Open samuelpmish opened 1 year ago

samuelpmish commented 1 year ago

First: thank you for making nanobench, it's a great tool!

My question is: Is there a way to disable some of the data columns in the default markdown output? e.g. omit the "ins/op", "cyc/op" entries to make the output more succinct

I mostly view my benchmark results from the command line, and by default, nanobench's markdown output is pretty but 150+ characters wide. So, it always ends up wrapping around the terminal window, making the tabular output difficult to read. The other output templates are nice for harvesting benchmark data for analysis by another tool, but they're not easily readable by a human.