bench-show
bench-show copied to clipboard
Add support for tasty-bench
Unfortunately tasty-bench's csv file is not compatible with criterion or gauge so it needs to be handled differently. Not just he column names are different but the units are also different.
We can add a --csv-format CLI option to handle this. If not specified we will assume gauge/criterion. Otherwise we can specify --csv-format=tasty-bench.
In the implementation, we can use different timeFields and allocFields for tasty-bench case. Also we will have to associate a scaling factor with each field which can be applied to scale it to default units.