Domain extract table preparation functions.
Provides functions to prepare domain-extract data for table rendering, including transposed tables for single-point multi-impl scenarios and grouped data tables.
Domain extract table preparation functions. Provides functions to prepare domain-extract data for table rendering, including transposed tables for single-point multi-impl scenarios and grouped data tables.
(prepare-domain-extract-table extract {:keys [header-sep] :or {header-sep " "}})Prepare domain-extract data for table rendering. Returns {:heading string :coord-header string :col-headers [string...] :rows [{col-header value...}...]} or nil if extract is nil.
Column headers include metric type (mean/median) when available. Values with error bounds are formatted inline as 'value (lower-upper)'.
Options: :header-sep - separator between impl and metric in multi-impl headers (default " ")
Prepare domain-extract data for table rendering.
Returns {:heading string :coord-header string :col-headers [string...]
:rows [{col-header value...}...]} or nil if extract is nil.
Column headers include metric type (mean/median) when available.
Values with error bounds are formatted inline as 'value (lower-upper)'.
Options:
:header-sep - separator between impl and metric in multi-impl headers
(default " ")(prepare-domain-extract-table-transposed extract)Prepare transposed domain-extract table for single-point multi-impl. Returns {:heading :col-headers :rows} where each row is one implementation.
Columns include implementation name, then for each metric: value and factor. Factor is relative to baseline (first implementation).
Column headers include metric type (mean/median) when available. Values with error bounds are formatted inline as 'value (lower-upper)'.
Prepare transposed domain-extract table for single-point multi-impl.
Returns {:heading :col-headers :rows} where each row is one implementation.
Columns include implementation name, then for each metric: value and factor.
Factor is relative to baseline (first implementation).
Column headers include metric type (mean/median) when available.
Values with error bounds are formatted inline as 'value (lower-upper)'.(prepare-domain-grouped-table grouped)Prepare domain-grouped data for table rendering. Returns {:heading string :rows [{:axis-value string :run-count int}...]} or nil if grouped is nil.
Prepare domain-grouped data for table rendering.
Returns {:heading string :rows [{:axis-value string :run-count int}...]}
or nil if grouped is nil.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |