Skip to content

Vite-like --profile performance profiling #1020

@TheAlexLichter

Description

@TheAlexLichter

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions