nanobench icon indicating copy to clipboard operation
nanobench copied to clipboard

Question: configure default markdown output

Open samuelpmish opened this issue 2 years ago • 1 comments

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.

samuelpmish avatar Jul 07 '23 15:07 samuelpmish

I'm also interested in this, for slightly different reasons.

Here's the output for some FFT benchmarks I'm doing:

relative ns/MFlop MFlop/s err% total FFT
100.0% 30,775.13 32,493.77 0.6% 0.04 FFT size: 64
67.0% 27,894.86 35,848.90 0.8% 0.04 FFT size: 96
47.9% 27,513.86 36,345.32 1.3% 0.06 FFT size: 128

The MFlop/s column is good but the ns/MFlop is just redundant and I'd rather have it disappear completely or have it replace with another custom colums like ns/op.

Segfault1602 avatar May 01 '25 16:05 Segfault1602