Skip to content

Optimize standard library documentation analysis - #246

Merged
julia-script merged 1 commit into
mainfrom
julia/optimize-stdlib-documentation
Aug 23, 2026
Merged

julia-script merged 1 commit into
mainfrom
julia/optimize-stdlib-documentation

Conversation

@julia-script

Copy link
Copy Markdown
Owner

Summary

  • build standard-library documentation from one multi-root ProjectAnalysis
  • migrate doctest, documentation-site, policy, generation, and inventory consumers
  • add a structural regression test proving shared modules are analyzed once while preserving private filtering
  • fail fast when the shipped manifest and embedded source map disagree

Performance

Gate Before After
documentation policy 19.68s 2.43s
documentation check 19.91s 2.37s
documentation examples 39.74s 22.30s

This removes approximately 52 seconds from the compiler package test command. Policy still checks all 45 modules and all 54 doctests pass.

Verification

  • pnpm typecheck
  • pnpm test — 28/28 package tasks passed
  • pnpm release:candidate — 9/9 tests passed
  • Biome passes on every file in this PR
  • compiler documentation policy, check, examples, and inventory all pass

The aggregate pnpm check was also attempted locally, but its initial Biome step stopped on trailing whitespace in an unrelated uncommitted BootstrapEvaluation.ts edit that is not included in this PR.

@julia-script
julia-script merged commit a4205f4 into main Aug 23, 2026
2 checks passed
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.

1 participant