mira-consciousness
Version:
Memory & Intelligence Retention Archive - Preserving The Spark
34 lines • 1.23 kB
TypeScript
/**
* Caching Strategy Analyzer
* Analyzes caching implementations and identifies optimization opportunities
*/
import { CachingAnalysis, PerformanceIssue } from './types.js';
export declare class CachingAnalyzer {
private projectRoot;
constructor(projectRoot: string);
analyze(issues: PerformanceIssue[]): Promise<CachingAnalysis>;
private detectImplementedCaches;
private detectMemoryCache;
private detectFileSystemCache;
private detectRedisCache;
private detectDatabaseCache;
private detectHttpCache;
private detectComputationCache;
private detectCachingLibraries;
private identifyMissedCachingOpportunities;
private detectExpensiveComputations;
private detectRepeatedDatabaseQueries;
private detectRepeatedApiCalls;
private detectRepeatedFileIO;
private detectRepeatedCalculations;
private analyzeCachingStrategyType;
private calculateCacheEfficiency;
private findRedundantCaches;
private generateCachingRecommendations;
private calculateCachingScore;
private addCachingIssues;
private estimateCacheSize;
private analyzeCacheUsage;
private estimateCacheEffectiveness;
}
//# sourceMappingURL=CachingAnalyzer.d.ts.map