...

/

Performance Option, renderTriggered, and renderTracked

Performance Option, renderTriggered, and renderTracked

Learn how to examine the performance of the application.

Performance option

If we want to examine our application’s performance, we can enable component init, compile, render and patch performance tracing by enabling the performance config.

This option is available in both Vue 2 and Vue 3 and can be enabled, as shown below.

Vue.config.performance = true
Enabling the performance config in Vue 2

The renderTriggered and renderTracked hooks

Vue 3 offers two ...