Skip to content

Improve OCaml rewatch performance and benchmarking - #8671

Draft
fhammerschmidt wants to merge 19 commits into
rewatch-ocamlfrom
faster-rewatch-ocaml
Draft

fhammerschmidt wants to merge 19 commits into
rewatch-ocamlfrom
faster-rewatch-ocaml

Conversation

@fhammerschmidt

Copy link
Copy Markdown
Member

Summary

  • Make the OCaml rewatch build and retained-watch benchmarks reproducible across compiler profiles and build scenarios, with documented measurements and filesystem audits.
  • Add opt-in timing for in-process compiler requests to identify compiler bottlenecks.
  • Build opened signature label tables in bulk to reduce repeated work while preserving label lookup behavior.

Stack

Depends on #8653. This PR contains the follow-up performance work and benchmark documentation above that branch.

Validation

The branch was rebased onto the current head of #8653. Its diff against the parent is limited to 10 files. Tests were not rerun for this branch-linking operation.

@fhammerschmidt
fhammerschmidt added this pull request to stack #8668 September 25, 2026 08:14
@codecov

codecov Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.73%. Comparing base (92be978) to head (80eb959).

Additional details and impacted files
@@              Coverage Diff               @@
##           rewatch-ocaml    #8671   +/-   ##
==============================================
  Coverage          78.73%   78.73%           
==============================================
  Files                480      480           
  Lines              65102    65110    +8     
==============================================
+ Hits               51256    51264    +8     
  Misses             13846    13846           
Files with missing lines Coverage Δ
compiler/ml/env.ml 77.08% <100.00%> (+0.18%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
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.

2 participants