{{ title }}

{% if commit_sha %} {% if commit_sha|length > 7 and repo_url %} {{ commit_sha[:7] }} {% else %} {{ commit_sha[:7] if commit_sha|length > 7 else commit_sha }} {% endif %} {% endif %} {% if branch %} {{ branch }} {% endif %} {% if pr_number and repo_url %} PR #{{ pr_number }} {% elif pr_number %} PR #{{ pr_number }} {% endif %} {% if run_url %} CI Run {% endif %} {% if nightly_url %} Nightly Latest {% endif %} {% if main_url %} Main Latest {% endif %} {% if stable_url %} Stable Latest {% endif %} {{ bench_count }} benchmark{{ "s" if bench_count != 1 }} {% if sections %}
{% endif %} {{ generated_at }}
regression check: regressed passed improved trend only (no regression check yet) sparkline = mean-over-time line + ±std band with a node per run; right-edge dots = per-run distribution; μ/σ over the series, in the column's units; hover a cell for its baseline and run count
{% macro data_cell(cell) %} {% if cell %}
{{ cell.svg|safe }}
{{ cell.latest_str }} {% if cell.change_str %}{{ cell.change_str }}{% endif %}
{% if cell.mean_str %}
μ {{ cell.mean_str }} σ {{ cell.std_str }}
{% endif %} {% else %} {% endif %} {% endmacro %} {# Break a snake_case name on its underscores so a narrow column wraps where it reads. Each part is escaped on its own; the separator is template text. #} {% macro metric_label(metric) %} {%- for part in metric.name.split("_") -%}{{ part }}{%- if not loop.last -%}_{%- endif -%}{%- endfor -%} {%- if metric.units %} ({{ metric.units }}){% endif -%} {% endmacro %} {% macro bench_label(bench) %} {{ bench.name }} {% if bench.time_event %}{{ bench.time_event }}{% endif %} {% endmacro %} {# Both orientations of one column group; --cols is its count in each. #} {% macro group_tables(group) %} {# One column per metric: read down a column to compare that metric across benchmarks. #}
{% for metric in group.metrics %} {% endfor %} {% for bench in group.benchmarks %} {% for cell in bench.cells %}{{ data_cell(cell) }}{% endfor %} {% endfor %}
Benchmark{{ metric_label(metric) }}
{{ bench_label(bench) }}
{# One column per benchmark: read down a column to compare a benchmark's metrics against each other on a shared (aligned) time axis. #}
{% for bench in group.benchmarks %} {% endfor %} {% for metric in group.metrics %} {% set metric_i = loop.index0 %} {% for bench in group.benchmarks %}{{ data_cell(bench.cells[metric_i]) }}{% endfor %} {% endfor %}
Metric{{ bench_label(bench) }}
{{ metric_label(metric) }}
{% endmacro %} {% for section in sections %}

{{ section.category }}

{{ group_tables(section.main) }} {% if section.secondary %}
{{ secondary_label }} — {{ section.secondary.metrics|length }} metric{{ "s" if section.secondary.metrics|length != 1 }} {{ group_tables(section.secondary) }}
{% endif %}
{% else %}
No benchmark summaries found.
{% endfor %} {% if link_sections %} {% endif %}