Function criterion_table::build_tables
source · [−]pub fn build_tables(
read: impl Read,
fmt: impl Formatter,
cfg_name: impl AsRef<Path>
) -> Result<String>
Expand description
Top level function that can be used to build table data. It takes a reader (raw cargo-criterion
JSON data), a Formatter
(only option is GFMFormatter
as of this writing), and the name of
a file in TablesConfig
toml format (the file is optional, simply skipped if it can’t be found)