Skip to content

docs: publish Citry 1.0.0 speed numbers, keep the other frameworks - #732

Merged
JuroOravec merged 3 commits into
mainfrom
docs/benchmarks-1-0-0
Nov 16, 2026
Merged

JuroOravec merged 3 commits into
mainfrom
docs/benchmarks-1-0-0

Conversation

@JuroOravec

Copy link
Copy Markdown
Member

What this changes

The Benchmarks page and the README speed chart now show Citry 1.0.0 (with citry-core 2.1.0, both from PyPI) instead of the pre-release 0.7.0 numbers. The other eleven frameworks keep their 2026-10-19 numbers, which the data file marks "retained": true.

  • New profile release-1.0.0-citry: the release-0.6.0 settings for Citry plus Jinja + HTMX + Alpine as a same-machine reference.
  • The Citry benchmark app now pins citry==1.0.0 and citry-core==2.1.0 and locks them from PyPI. The runner installs PyPI releases only through an app's lockfile, so this replaces the local-wheel route used for 0.7.0. Running release-0.6.0 again would now measure Citry 1.0.0.
  • tests/test_runner.py now checks every release profile after release-0.6.0 against the release settings, not only profiles with local wheels.
  • docs_site/data/benchmark_time_to_interactive.json published with benchmark_data --only citry; SPEED_VERSION_NOTES has the new report id; the README speed chart is redrawn (new PNGs under docs/assets/benchmarks/, old ones stay for released pages).
  • Prose updated on the Benchmarks page, benchmarks/web/README.md, the Citry app README and one design doc that named the app's Citry version. The Benchmarks page now states the measured noise (about 20 ms) and applies it to every gap it calls noise.

Runs

Step Run id
qualify 20261116T001725Z-7b46bf4c
measurement (published) 20261116T011517Z-1cbd8678
repeat measurement 20261116T011906Z-d5feba9f
composed report composed-955d152d8132

qualify passed on a clean tree with citry 1.0.0 and citry-core 2.1.0 installed. It ran while idle Chrome renderers were loading the Mac, but it publishes no timings. The two measurement runs ran after those processes were stopped (CPU 97% idle at the first run's start). Each run took about 3 minutes.

Citry numbers at 1,400 outputs (ms)

0.7.0 (2026-10-23) 1.0.0 (2026-11-16) 1.0.0 repeat run
First load total 295.8 314.6 312.9
First load, server 107.9 123.0
First load, browser after response 161.7 166.4
Second load total 252.6 257.3 249.0
Second load, server 65.3 71.4
Second load, browser after response 161.0 159.4

The first-load increase of about 18 ms repeats in the second run, and most of it is server time. The second load is within the noise of 0.7.0.

Reference check

Jinja + HTMX + Alpine ran again in the same run to check that the Mac gives the same times as on 2026-10-19:

Kept (2026-10-19) This run Change
First load 304.2 295.3 -2.9%
Second load 299.8 310.9 +3.7%

Both are within the single-measurement noise the README describes (the repeat run gave 316.6 and 312.9), so the data file keeps the 2026-10-19 numbers for that framework. The host OS version and Chromium 151.0.7922.34 match the kept numbers, and benchmark_data accepted the report.

Checks

  • benchmarks/web tests: 196 passed (the paint-timing test needed one rerun on first browser launch, as the README says).
  • docs_site/tests/test_benchmark_chart.py and test_benchmark_images.py: 77 passed.
  • scripts/validate.py: all 16 validators passed.
  • ruff check and ruff format --check on benchmarks/web and docs_site/scripts.
  • Reviewed by separate agents: a numbers and downstream-artifact review, and a prose pass with the docs cold reader. Their findings are folded in.

Not done here

  • The landing page comment in docs_site/content/index.md (about why "Python at JavaScript speed" is justified) says Citry is "behind Nuxt only on the second load". On the first load Citry is now also 15 ms behind Nuxt, and 10 to 11 ms behind Rusty + HTMX + Alpine and Jinja + HTMX + Alpine, all within the noise. Citry is still between Nuxt and Next.js on both loads and faster than Next.js on both. The landing page is not changed here.
  • citry-local-wheels.toml and its README example still name the 0.6.0 wheels.

🤖 Generated with Claude Code

JuroOravec and others added 3 commits November 16, 2026 02:18
Measured Citry 1.0.0 and citry-core 2.1.0 from PyPI on the same Mac as the
other eleven frameworks' numbers, with Jinja + HTMX + Alpine measured again
as a same-machine check. The data file keeps the other eleven frameworks'
2026-10-19 numbers. The README speed chart is redrawn and the Benchmarks
page prose follows the new numbers.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@JuroOravec
JuroOravec merged commit eece1e3 into main Nov 16, 2026
30 checks passed
@JuroOravec
JuroOravec deleted the docs/benchmarks-1-0-0 branch November 16, 2026 08:35
JuroOravec added a commit that referenced this pull request Nov 16, 2026
…-local-wheels (#735)

The profile and the README section that builds its wheels still named
citry 0.6.0 and citry-core 1.8.0 wheels and maturin 1.15.0, after #732
moved the Citry app to PyPI citry 1.0.0 and citry-core 2.1.0.

The profile now names citry-1.0.0 and citry_core-2.1.0 wheels in a
version-neutral folder, .benchmarks/wheels/citry-local. The build commands
empty that folder first, so a profile that names a version you did not just
build fails to load instead of measuring a leftover wheel. They use the
maturin version citry_core's pyproject.toml pins (1.16.0). The README and a
comment in the profile say that the names must follow each package's
pyproject.toml version.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant