Skip to content

perf: improve build performance for large packages - #271

Merged
rich-iannone merged 7 commits into
mainfrom
feat-performance-increase
Jul 22, 2026
Merged

perf: improve build performance for large packages#271
rich-iannone merged 7 commits into
mainfrom
feat-performance-increase

Conversation

@rich-iannone

Copy link
Copy Markdown
Member

This PR has several Improvements for build performance (for large packages). There are two optimizations that significantly reduce build times for packages with large APIs:

  • export discovery: use cached griffe tree instead of per-item dynamic imports
  • parallelized Markdown page generation

Measured against Pointblank (100 exports, 37 classes, 574 source-linked items, 301 pages):

  • source links step: ~1m 16s → <1s
  • post-render markdown: 75.5s → 12.6s
  • importantly, all 10,012 tests pass

Partially addresses: #261

@rich-iannone
rich-iannone merged commit ee55244 into main Jul 22, 2026
8 checks passed
@rich-iannone
rich-iannone deleted the feat-performance-increase branch July 22, 2026 01:36
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