Home > @lynx-js/rspeedy > Performance > profile
Performance.profile property
Whether capture timing information in the build time and the runtime, the same as the profile config of Rspack.
Signature:
Remarks
This option would be true when DEBUG environment variable contains rspeedy.
Example
Enable profile.
-
Rsbuild will auto-generate
dist/stats.jsonfile through bundle analyzer. -
Rspack will include the build time information when generating
stats.json. -
Frameworks like ReactLynx will include runtime information using
console.profile.

