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');
const app = createApp(App);
app.config.performance = true;
app.mount('#app');