Skip to content

perf: cache tsconfig parsing within bundless batches - #875

Merged
fireairforce merged 3 commits into
masterfrom
zoomdong/cache-tsconfig-per-batch
Oct 18, 2026
Merged

fireairforce merged 3 commits into
masterfrom
zoomdong/cache-tsconfig-per-batch

Conversation

@fireairforce

@fireairforce fireairforce commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Cache tsconfig lookup and parsing within each bundless file batch to avoid repeated scans. Watch rebuilds start with a fresh cache; declaration generation copies compiler options before modifying them.

Local build, type checking and all 191 tests passed. A synthetic 1,000-file SWC ESM+CJS benchmark (declarations disabled; three-run medians) improved from 24.31s to 2.47s cold and 12.30s to 1.49s warm, with identical outputs.

Internal getTsconfig() results are now shared within a batch; plugins mutating them may affect later reads.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T07:38:17.449732Z b25ddee PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@fireairforce
fireairforce merged commit fc4acd1 into master Oct 18, 2026
7 checks passed
@fireairforce
fireairforce deleted the zoomdong/cache-tsconfig-per-batch branch October 18, 2026 11:38
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