UNPKG

@dharshansr/gitgenius

Version:

AI-powered commit message generator with enhanced features

23 lines 671 B
interface PerformanceMetric { operation: string; duration: number; timestamp: number; success: boolean; } export declare class PerformanceMonitor { private static instance; private configManager; private metrics; private timers; constructor(); static getInstance(): PerformanceMonitor; startTimer(operation: string): void; endTimer(operation: string, success?: boolean): void; private recordMetric; getAverageTime(operation: string): number; getSuccessRate(operation: string): number; getMetrics(): PerformanceMetric[]; clearMetrics(): void; } export {}; //# sourceMappingURL=PerformanceMonitor.d.ts.map