In Vue, you can enable performance tracing in the browser devtool performance/timeline panel. This only works in development mode.
const app = createApp(App);
app.config.performance = true;
app.mount('#app');
A highly curated collection of practical tips, advanced patterns, and performance tweaks for Vue & Nuxt.