Skip to content

docs: give the compact benchmark charts a caption that says what is counted and links the method #850

Backlog

Description

@JuroOravec

(Opus 5.5)

The compact "Mistakes reported before the app runs, out of those that apply" chart has a title and a legend, but nothing next to it says what the counts mean or where the list of mistakes is. A reader who sees "56 of 61" for Citry and "45 of 57" for Next.js reasonably asks how the mistakes were chosen, why each framework has a different total, and which ones Citry misses. A reader asked exactly these questions on 2026-11-23, after seeing the chart without its context.

Where the chart appears

  • docs_site/content/blog/2026-11-16-citry-1-0-0.md (line 186): the chart has no note or link next to it. The paragraph after it gives the 56 of 61 number but no link to the method or the list.
  • docs_site/content/index.md (line 105): has a note (<c-benchmark-text part="errors-note" />) and a "How we measured" link. Check whether it also says why the totals differ.
  • docs_site/content/about/benchmarks.md (line 111): the full chart, with the "Read the error chart" table under it. This one is fine.

Proposed fix

Give the compact chart a short caption under the bars, wherever it appears outside the benchmarks page. It should say:

  1. What is counted: the same 63 mistakes were planted in each framework's app, and the bar shows how many each one reported before the app runs.
  2. Why the totals differ: a mistake that has no equivalent in a framework, or that its design prevents, is left out of that framework's total.
  3. Where to read more: links to every mistake and its result and to how we measured.

A caption (or note) option on <c-error-benchmark-chart> in docs_site/_internal/components/error_benchmark.py keeps the text in one place. The homepage's errors-note text may be reusable. The speed chart (<c-benchmark-chart>) in the blog post has a smaller gap: the text after it links the Benchmarks page, but nothing says what "usable" times (from the browser's request until the page is laid out and its scripts respond to input, server and browser together). The same reader asked what was timed. Fix both in the same change.

The blog post is published, so keep its text as it is and add only the caption under the chart.

Activity

  1. added
    documentation
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions