You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: give the compact benchmark charts a caption that says what is counted and links the method #850
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:
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.
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.
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