r-performance-monitor

1.0.0 • Public • Published

Performance Monitor

A performance monitoring tool for web applications, focusing on long task detection and performance entries monitoring.

Installation

Install the package via npm:

npm install performance-monitor

Usage

import and initialize the performance monitoring tool in your project. You can specify a custom interval (in milliseconds) for logging the performance data.

  1. Install the package:
npm install performance-monitor
  1. 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');

Readme

Keywords

none

Package Sidebar

Install

npm i r-performance-monitor

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

6.97 kB

Total Files

6

Last publish

Collaborators

  • renelyy