test: Add bytecode cache tests and dev boot time CI workflow
Add comprehensive unit tests for the bytecode cache functionality: - Test loading modules and returning exports - Test working with Node.js built-in modules - Test cache creation and metadata - Test error handling for syntax errors - Test ES module style exports - Test isBytecodeCacheEnabled flag - Test clearBytecodeCache function - Test cache invalidation on source changes - Test correct __filename and __dirname context Add GitHub Action workflow for dev boot time regression testing: - Benchmarks cold start (fresh .next) and warm start (with bytecode cache) - Runs on PRs that modify CLI or server startup code - Reports results in GitHub Actions summary - Fails if cold start exceeds 2000ms threshold - Runs bytecode cache unit tests🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By:Claude Opus 4.5 <noreply@anthropic.com>
Showing
This diff is collapsed.
Please
register
or
sign in
to comment