In Vue, you can enable performance tracing in the browser devtool performance/timeline panel. This only works in development mode.

js
const app = createApp(App);

app.config.performance = true;

app.mount('#app');