ai-debug-local-mcp
Version:
🎯 ENHANCED AI GUIDANCE v4.1.2: Dramatically improved tool descriptions help AI users choose the right tools instead of 'close enough' options. Ultra-fast keyboard automation (10x speed), universal recording, multi-ecosystem debugging support, and compreh
57 lines • 1.32 kB
TypeScript
export interface StartupPhase {
name: string;
startTime: number;
endTime?: number;
duration?: number;
}
export interface StartupMetrics {
totalStartupTime: number;
phases: {
[key: string]: number;
};
startedAt: Date;
completedAt?: Date;
}
/**
* StartupPerformanceTracker - Tracks server startup performance
* Used to measure and validate startup time improvements
*/
export declare class StartupPerformanceTracker {
private startTime;
private phases;
private currentPhase;
constructor();
/**
* Start tracking a specific phase
*/
startPhase(name: string): void;
/**
* End tracking a specific phase
*/
endPhase(name: string): void;
/**
* Get complete startup metrics
*/
getMetrics(): StartupMetrics;
/**
* Get current phase duration
*/
getCurrentPhaseDuration(): number;
/**
* Reset tracker
*/
reset(): void;
/**
* Mark startup complete
*/
markComplete(): void;
/**
* Get performance improvement percentage
*/
getImprovementPercentage(baselineTime: number): number;
/**
* Check if target startup time is met
*/
meetsTarget(targetTime: number): boolean;
}
//# sourceMappingURL=startup-performance-tracker.d.ts.map