overview.report¶
The pages across the checks, docs/benchmarks.md and docs/models.md.
render_benchmarks compares the wall time of the two simulators over the
models of every check, render_models which models of every check the
converters handle. Both read the committed results of the checks
(sbml2cellml.overview.checks), neither of them runs a simulation.
render_benchmarks
¶
Render the benchmark page.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
runs
|
list[Run]
|
the runs of the checks. |
required |
figures
|
dict[str, str] | None
|
path of the scatter of every phase, relative to the page,
|
None
|
medians
|
str
|
path of the median wall times, relative to the page. |
MEDIANS_FIGURE
|
Returns:
| Type | Description |
|---|---|
str
|
The markdown page. |
render_models
¶
Render the page of the models of the checks.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
runs
|
list[Run]
|
the runs of the checks. |
required |
Returns:
| Type | Description |
|---|---|
str
|
The markdown page: the pass rate of every stage per check, every |
str
|
model of a check of published models with the status of its stages, |
str
|
and the models which do not run at all. |
write_benchmarks
¶
Write the benchmark page, the scatter of every phase and the medians.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
runs
|
list[Run]
|
the runs of the checks. |
required |
path
|
Path
|
markdown file, overwritten. |
required |
figures
|
dict[str, str] | None
|
path of the scatter of every phase, relative to the page,
|
None
|
medians
|
str
|
path of the median wall times, relative to the page. |
MEDIANS_FIGURE
|