Repository navigation
Benchmark Python download catalog loading - #22125
Merged
Merged
Conversation
woodruffw
marked this pull request as ready for review
October 1, 2026 16:51
woodruffw
force-pushed
the
ww/bench-python-catalog
branch
from
October 1, 2026 16:57
4d847ff to
1740b8f
Compare
woodruffw
force-pushed
the
ww/bench-python-catalog
branch
from
October 1, 2026 18:41
1740b8f to
020692b
Compare
woodruffw
commented
Oct 1, 2026
Measure embedded catalog loading in the CodSpeed simulation job, which builds all benchmark targets.
woodruffw
force-pushed
the
ww/bench-python-catalog
branch
from
October 1, 2026 21:27
020692b to
f2cc42b
Compare
zanieb
approved these changes
Oct 1, 2026
woodruffw
added a commit
that referenced
this pull request
Oct 1, 2026
## Summary Compress the embedded Python catalog with zstd level 19 at build time and decompress it before parsing. The catalog shrinks from 2,611,893 to 233,814 bytes. Local release builds (`aarch64-apple-darwin`, Rust 1.98.1, default features, fat LTO): | Binary | Before (bytes) | After (bytes) | Reduction | | --- | ---: | ---: | ---: | | With symbols | 55,017,552 | 52,639,088 | 4.32% | | `strip -S -x` | 43,138,056 | 40,743,856 | 5.55% | #22125 adds CodSpeed simulation coverage. #22129 compares zstd with zlib. ## Test Plan - Formatting, Clippy, 31 download tests, and two listing integration tests passed. - All 5,646 catalog records round-trip; all 2,086 listing entries match the uncompressed catalog. - Profiling smoke tests and local CodSpeed harness checks passed.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a CodSpeed simulation benchmark for loading the embedded Python download catalog.
Test Plan
Formatting, Clippy, and the local CodSpeed harness check pass.