simplebench.reporters.rich_table.reporter.options.options module🔗
Reporter for benchmark results using Rich tables on the console.
- class simplebench.reporters.rich_table.reporter.options.options.RichTableOptions(virtual_width: int | None = None)[source]🔗
Bases:
ReporterOptionsClass for holding Rich table 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.- Variables:
virtual_width (int, optional) –
The width of the Rich table output in characters when rendered to the filesystem or via callback. Must be between 80 and 1000 characters or
None. IfNone, no width constraint is applied.The virtual width is used to determine how the table should be formatted when rendered to non-console outputs, such as files or callbacks. This allows for better control over the appearance of the table in different contexts.