import MatrixCell from '@ryanatkn/syntax-highlighter-bench/MatrixCell.svelte'; entry
type MatrixEntry
unit
type MatrixUnit
ratio?
The value's ratio against the row's baseline, when it has one.
type
numberoptional
floor?
The noise floor a ratio is read against, or null for none.
type
number | nulloptional default
nullbound?
Whether the ratio is a lower bound: the true one is at least it.
type
booleanoptional default
falsecolored?
Whether the ratio tints the cell. Off where a smaller number is not a better one.
type
booleanoptional default
trueopen?
Whether the details are shown in the cell. They are always in its title.
type
booleanoptional default
falsebar?
The length of a bar beneath the number, as a fraction of the table's largest, or null for none.
type
number | nulloptional default
nullreference?
Whether this is the reference library's column, which every ratio is taken against.
type
booleanoptional default
false