simplebench.reporters.csv.reporter.options.options module🔗
ReporerOptions subclass for CSV reporter specific options.
This module defines the CSVOptions class, which is a subclass of
ReporterOptions and is used
to hold options specific to the CSV reporter.
- class simplebench.reporters.csv.reporter.options.options.CSVOptions( )[source]🔗
Bases:
ReporterOptionsClass for holding CSV reporter specific options in a Choice.
This class provides additional configuration options specific to the JSON reporter. It is accessed via the
optionsattribute of aChoiceinstance.- Parameters:
fields –
A tuple of CSV fields to include in the output. If none is specifically set, a predefined set of fields is used. The fields appear in the order specified in the sequence.
If specified, all fields must be from the
CSVFieldenum.The default fields, in order, are:
variation_cols_last – Whether to place the variation columns (if any) at the end of the rows. Defaults to
False- which places the variation columns at the start of the rows.
- Raises:
SimpleBenchTypeError – Any parameter is of an invalid type.
SimpleBenchValueError – If
fieldsis an empty sequence.
Initialize CSVOptions instance.