Const
Global performance monitor instance
Shared instance for application-wide performance tracking. Use this for convenience when you don't need isolated monitoring.
import { performanceMonitor } from './utils/performance.js';// Record durationperformanceMonitor.recordDuration('api_call', 150);// Get statisticsconst stats = performanceMonitor.getStats('api_call'); Copy
import { performanceMonitor } from './utils/performance.js';// Record durationperformanceMonitor.recordDuration('api_call', 150);// Get statisticsconst stats = performanceMonitor.getStats('api_call');
Global performance monitor instance
Shared instance for application-wide performance tracking. Use this for convenience when you don't need isolated monitoring.