core_bench icon indicating copy to clipboard operation
core_bench copied to clipboard

Add option to standardize units?

Open d4hines opened this issue 3 years ago • 1 comments

Hi! Core_bench makes is wonderfully easy to use; however, when trying to aggregate the results for reporting purposes, the diverse units throws a wrench in things. Could we add a cli option to use fixed units, such everything is reported in nanoseconds and words rather than microsends, kilowords, etc.?

d4hines avatar Apr 23 '21 19:04 d4hines

Hi @d4hines! The default printout is designed for human consumption.

Does the -sexp option work for you? It generates a machine-readable s-expression representation of the benchmark results, which you can pipe into sexp query each | sexp to-csv to get a csv, if that's what you'd prefer. (the sexp binary)

There's also the -save option, which gives the raw run data in text files, if you would prefer to use that.

bcc32 avatar Aug 05 '21 16:08 bcc32