WIP: Resolve source archive members by bounded index #658

Draft
erikinkinen wants to merge 5 commits from perf/source-archive-member-lookup into feature/production-source-bundle-publications
Owner

Resolve each source archive member through an exact bounded index into the original immutable member tuple. This removes the repeated identity scan while retaining the existing parent, source, capturer, byte and completion checks.

Fresh 142-member exporter/archive profiles confirm removal of 10,295 membership-generator calls. They do not show an overall wall-time improvement; catalogue snapshots and ancestry checks remain the larger costs. Controls cover malformed indices, numeric subclasses, copied archives, existing output failures and complete archive round trips.

Depends on #655; continues #643. Complete-workload performance and final production acceptance remain open.

Resolve each source archive member through an exact bounded index into the original immutable member tuple. This removes the repeated identity scan while retaining the existing parent, source, capturer, byte and completion checks. Fresh 142-member exporter/archive profiles confirm removal of 10,295 membership-generator calls. They do not show an overall wall-time improvement; catalogue snapshots and ancestry checks remain the larger costs. Controls cover malformed indices, numeric subclasses, copied archives, existing output failures and complete archive round trips. Depends on #655; continues #643. Complete-workload performance and final production acceptance remain open.
erikinkinen added this to the Alpha 1 milestone 2026-11-10 06:54:54 +01:00
Replace the repeated identity scan with a fixed lookup in the original immutable member tuple while preserving parent, source, capture and malformed-input checks.
Select every actual helper body and mode from the immutable performance checkpoint before native ownership admission.
build: Bind indexed archive admission to its complete cohort
Some checks failed
Markdown / markdown (push) Successful in 19s
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Failing after 1m27s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
CI / cargo_publications (push) Successful in 4m15s
Coreutils provider graph / coreutils (push) Successful in 5m27s
84db1753e7
Keep all original owner bodies and bootstrap while selecting the actual archive source and complete immutable declaration.
merge: Qualify source archive fixture interpreter selections
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 32s
Coreutils provider graph / coreutils (push) Failing after 1m34s
CI / cargo_publications (push) Successful in 6m14s
CI / rust (push) Failing after 12m10s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
035d21a8eb
Compose the narrow fixture correction without changing indexed member selection, original helper bodies or resource policies.
fix: Order native fixture retirement after observed cleanup
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 26s
Coreutils provider graph / coreutils (push) Failing after 2m27s
CI / cargo_publications (push) Successful in 6m20s
CI / rust (push) Successful in 15m19s
CI / native_sources (push) Failing after 1m52s
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
0def50e023
Replace the unsynchronized negative sleep with a marker emitted only after the copied runner selects its actual missing-result cleanup branch. Retain the same owner through original finish, preserve raw errors, delay only the first positive probe, and keep all original production clocks and assertions unchanged.

(cherry picked from commit bffeb91b4a)
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 26s
Coreutils provider graph / coreutils (push) Failing after 2m27s
CI / cargo_publications (push) Successful in 6m20s
CI / rust (push) Successful in 15m19s
CI / native_sources (push) Failing after 1m52s
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'perf/source-archive-member-lookup:perf/source-archive-member-lookup'
git switch 'perf/source-archive-member-lookup'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/production-source-bundle-publications'
git merge --no-ff 'perf/source-archive-member-lookup'
git switch 'perf/source-archive-member-lookup'
git rebase 'feature/production-source-bundle-publications'
git switch 'feature/production-source-bundle-publications'
git merge --ff-only 'perf/source-archive-member-lookup'
git switch 'perf/source-archive-member-lookup'
git rebase 'feature/production-source-bundle-publications'
git switch 'feature/production-source-bundle-publications'
git merge --no-ff 'perf/source-archive-member-lookup'
git switch 'feature/production-source-bundle-publications'
git merge --squash 'perf/source-archive-member-lookup'
git switch 'feature/production-source-bundle-publications'
git merge --ff-only 'perf/source-archive-member-lookup'
git switch 'feature/production-source-bundle-publications'
git merge 'perf/source-archive-member-lookup'
git push origin 'feature/production-source-bundle-publications'
Sign in to join this conversation.
No description provided.