Repository navigation
[3.25] perf(rocq): share plugin layouts without changing dependencies - #16647
Merged
Merged
Conversation
Cover direct and transitive plugin loading alongside an unused proof. Record the complete layout dependencies and unnecessary recompilation before layout sharing. (cherry picked from commit ebc5110) Signed-off-by: Ali Caglayan <[email protected]>
Inspect discovery and compilation rules before grouping, retaining the conservative proof rebuild behavior as the baseline. Check plugin files inside a fresh discovery sandbox and exclude root-section proof outputs. (cherry picked from commit 5df1fcf) Signed-off-by: Ali Caglayan <[email protected]>
Inspect direct-file and group counts for the root-section sandbox and cycle regression. Require any selectors to be unconditional, avoiding literal-name filters that scan a name list for every generated file. (cherry picked from commit 053b294) Signed-off-by: Ali Caglayan <[email protected]>
Backport ocaml#16622 to 3.25.0-rc. Share Lib and Libexec dependencies using sandbox-safe generated-file selectors in all-library directories. Construct groups lazily in the existing layout-entry memo, retaining explicit dependencies for directory entries and mixed directories. Preserve dependency selection and rebuild behavior. Keep dependency narrowing and environment construction out of this backport. Correct the changelog fragment reference to the original PR, ocaml#16622. (cherry picked from commit 673da21) Signed-off-by: Ali Caglayan <[email protected]>
Alizter
added a commit
that referenced
this pull request
Oct 19, 2026
Correct the changelog fragment added by #16622: rename `16543.md` to `16622.md` and update its PR reference. #16543 is the alternative performance proposal, not the merged change described by this entry. No code or wording changes beyond the PR reference. The same correction is included in the 3.25 backport, #16647. Validation: `./dune.exe build -j4 @check @fmt` passes. Tests skipped for this documentation-only change.
Alizter
marked this pull request as ready for review
October 19, 2026 11:21
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.
Backport #16622 to
3.25.0-rc, reducing repeated Rocq plugin-layout dependency processing in unchanged builds. Related to the performance regression discussed in #16543; tracked in #15593.Includes the three existing regression-test commits before the fix: conservative proof invalidation, shared layout dependencies and actual sandbox inputs, and mixed-directory dependency representation. The implementation, tests, and developer documentation match the merged PR. The changelog fragment is renamed to
16622.mdand corrected to reference #16622 rather than #16543.No dependency narrowing, environment-construction optimization, or engine changes are included. Existing dependencies and rebuild behavior are preserved.
Validation using the release branch's Nix environment (including #16599's dependency-builder pin):
@check,@fmt, and@runtest-rocqpass on all four commits.Full
@runtestwas not run; validation was limited to the focused checks above.