Skip to content

benchmarks: name the Citry 1.0.0 and citry-core 2.1.0 wheels in citry-local-wheels - #735

Merged
JuroOravec merged 1 commit into
mainfrom
chore/bench-local-wheels-profile
Nov 16, 2026
Merged

JuroOravec merged 1 commit into
mainfrom
chore/bench-local-wheels-profile

Conversation

@JuroOravec

Copy link
Copy Markdown
Member

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

What changes

  • benchmarks/web/profiles/citry-local-wheels.toml names citry-1.0.0-py3-none-any.whl and citry_core-2.1.0-cp312-cp312-macosx_11_0_arm64.whl, the versions in the two pyproject.toml files on main. A comment says what the runner does with them and that the names must follow those versions.
  • The wheel folder is .benchmarks/wheels/citry-local instead of a folder named for a version, so only the file names go stale at a version change.
  • The README build commands empty that folder first. A profile that names a wheel you did not just build then fails to load (Invalid local wheel) instead of measuring a leftover wheel.
  • The README build commands use maturin 1.16.0, the version packages/py/citry_core/pyproject.toml pins. A paragraph after the commands says where each file name's version comes from and that unreleased source keeps the released version number, so the profile does not measure the PyPI release.

The lockfile pin does not block the profile

prepare runs uv sync --frozen --no-install-package citry --no-install-package citry-core, then uv pip install --no-deps --reinstall on the wheels, so the PyPI pin in apps/citry/uv.lock is never installed for a profile that names wheels. I ran both steps by hand against the app's lockfile with the citry 1.0.0 wheel built from this checkout and citry-core 2.1.0 from PyPI: both installed, import citry worked. No design decision is needed.

Checks

  • Runner tests that cover profiles (every profile loads, local-wheel profiles, release profiles, lockfile installability): 18 passed. The new names load as a profile when files exist at those paths, and loading fails when they do not.
  • scripts/validate.py: all 16 validators passed.
  • uv build --wheel packages/py/citry gives citry-1.0.0-py3-none-any.whl, and uvx --from maturin==1.16.0 maturin --version resolves.
  • No benchmark, browser or Rust build was run. The citry-core file name comes from the build configuration (no abi3-py311 feature, --interpreter 3.12.13), not from a build.
  • Reviewed by a separate agent (no hole found; wording fixes folded in) and by the docs cold reader (order and wording fixes folded in). The prose passes found no em dashes or banned words.
  • No changelog entry: only a benchmark profile and its README changed.

Not done here

  • The README's "about 3 minutes" and "about 1.5 GB" for the citry-core build were written for 1.8.0 and are not re-measured.
  • The local recipe builds a cp312 wheel; CI ships abi3-py311 wheels. Whether that changes timings is unmeasured, so the README does not say.
  • release-0.7.0-citry.toml keeps its own wheel names, which record how the published 0.7.0 numbers were measured.
  • Nothing checks the profile's file names against the package versions. The benchmark tests do not run in CI, so a check there would not catch a release bump. A validator under scripts/validators/ could.

🤖 Generated with Claude Code

…-local-wheels

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]>
@JuroOravec
JuroOravec merged commit f193a71 into main Nov 16, 2026
17 of 18 checks passed
@JuroOravec
JuroOravec deleted the chore/bench-local-wheels-profile branch November 16, 2026 08:53
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