next.js
6b32b20d - refactor: use inspector API for CPU profiling instead of CLI flags

Commit
4 days ago
refactor: use inspector API for CPU profiling instead of CLI flags Consolidate CPU profiling to use the inspector-based approach in cpu-profile.ts instead of injecting --cpu-prof CLI flags: - Enhance cpu-profile.ts to support NEXT_CPU_PROF_DIR for output path - Remove redundant --cpu-prof flag injection from next-dev.ts - Update profiling script to use NEXT_CPU_PROF env var The inspector API is cleaner and doesn't require modifying execArgv for forked processes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author
Parents
Loading