Repository navigation
Conversation
Binary size
Build detailsTarget: Current revision: ffa5b07e. Native Cargo builds with |
56a8385 to
e615f3b
Compare
uv and uvx sizesmain PGO profile for binary-size measurements
| env: | ||
| EVENT_NAME: ${{ github.event_name }} | ||
| RECIPE: ${{ hashFiles('.github/workflows/binary-size.yml', 'scripts/binary_size.py', 'scripts/prune_cargo_workspace_cache.py') }} | ||
| RECIPE: ${{ hashFiles('.github/workflows/binary-size.yml', 'scripts/binary_size.py', 'scripts/build_uv_pgo.py', 'scripts/prune_cargo_workspace_cache.py', 'test/ecosystem/**') }} |
There was a problem hiding this comment.
[P3] Exclude unused head-revision training files from the cache recipe
These added hashes read the current checkout, but train() executes the trainer and ecosystem corpus from the pinned source checkout. Updating either head-revision input therefore invalidates the profile and baseline caches and reruns training without changing its inputs. PGO_REVISION already identifies the actual trainer and corpus; remove scripts/build_uv_pgo.py and test/ecosystem/** from this recipe hash.
f872845 to
2766044
Compare
e558e08 to
0a856ef
Compare
2766044 to
09d05f5
Compare
09d05f5 to
ad2a889
Compare
610bb32 to
65b1d89
Compare
ad2a889 to
fd256f8
Compare
fd256f8 to
a1850c5
Compare
Binary size
Build detailsTarget: Current revision: a5696b19. Native Cargo builds with |
Train a PGO profile from a pinned revision of
mainusing the release corpus and flags, then reuse it for both sides of the binary-size comparison. Pull request updates can reuse optimized dependency artifacts without retraining for each revision. Cache the profile and compiled workspace crates separately, and reject comparisons whose measurements use different profiles or training revisions.The binaries are built natively, without SBOM embedding or manylinux packaging.
In these runs, the report took 15m46s cold and 7m37s warm. The eight-core profile and build jobs used 21.7 and 12.9 runner-minutes, respectively. In these warm runs, runner time was about 7% above non-PGO and 37% below PGO trained for each revision.
Stacked on #2730.