A performance monitoring tool for web applications, focusing on long task detection and performance entries monitoring.
Install the package via npm:
npm install performance-monitor
import and initialize the performance monitoring tool in your project. You can specify a custom interval (in milliseconds) for logging the performance data.
- Install the package:
npm install performance-monitor
- Update your main.ts file:
import { createApp } from 'vue';
import App from './App.vue';
import { startPerformanceMonitoring } from 'performance-monitor';
// Start performance monitoring with a custom interval (e.g., every 5 seconds)
startPerformanceMonitoring(5000);
createApp(App).mount('#app');