cli
cli copied to clipboard
Vite-like `--profile` performance profiling
When using plain Vite, you can run vite --profile to easily record a cpu profile of your application server, which is helpful for finding performance bottleneck. Having the same feature as part of the Nuxt CLI would be very helpful for performance analysis.
https://github.com/vitejs/vite/blob/7f6af9d8717f840404a43e1de65436e87216936f/packages/vite/src/node/cli.ts#L250-L284