Skip to content

perf: eliminate build-time overhead and add mtime caching#10

Merged
philippminder merged 6 commits intomainfrom
claude/perf-improvements-0JhMb
Mar 16, 2026
Merged

perf: eliminate build-time overhead and add mtime caching#10
philippminder merged 6 commits intomainfrom
claude/perf-improvements-0JhMb

Conversation

@philippminder
Copy link
Collaborator

  • Remove transformInclude/transform hooks (template leftovers running on every module, causing 56% plugin-timing share with no actual purpose)
  • Skip buildStart in Vite dev mode via isDevServer flag (chokidar watcher already handles regeneration, avoiding double execution on HMR)
  • Convert sync fs I/O to async fs.promises + Promise.all for parallel reads
  • Add mtime-based cache: skip regeneration when output is newer than all interface source files

https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4

claude and others added 5 commits March 16, 2026 09:03
Scoped packages are private by default on npm registry.
publishConfig.access: public is required to publish @supsign/* packages.

https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4
tsdown v0.21 generates ESM files with .mjs extension instead of .js.
Update all package.json exports, main, module and types fields accordingly.

https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4
- Remove transformInclude/transform hooks (template leftovers running on
  every module, causing 56% plugin-timing share with no actual purpose)
- Skip buildStart in Vite dev mode via isDevServer flag (chokidar watcher
  already handles regeneration, avoiding double execution on HMR)
- Convert sync fs I/O to async fs.promises + Promise.all for parallel reads
- Add mtime-based cache: skip regeneration when output is newer than all
  interface source files

https://claude.ai/code/session_018v1SpxBqL5hSeNYjvYBjk4
@philippminder philippminder force-pushed the claude/perf-improvements-0JhMb branch from 652d795 to d0c0e60 Compare March 16, 2026 09:55
@philippminder philippminder merged commit 8b3057b into main Mar 16, 2026
5 checks passed
@philippminder philippminder deleted the claude/perf-improvements-0JhMb branch March 16, 2026 09:59
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