datapilot-cli
Version:
Enterprise-grade streaming multi-format data analysis with comprehensive statistical insights and intelligent relationship detection - supports CSV, JSON, Excel, TSV, Parquet - memory-efficient, cross-platform
64 lines • 3.34 kB
TypeScript
/**
* Performance Optimization Module
* Exports all performance enhancement components
*/
export { WorkerPool, getGlobalWorkerPool, shutdownGlobalWorkerPool, type WorkerTask, type WorkerPoolOptions, type WorkerStats } from './worker-pool';
export { ParallelAnalyzer, getGlobalParallelAnalyzer, shutdownGlobalParallelAnalyzer, type AnalysisResult, type ParallelAnalysisOptions } from './parallel-analyzer';
export { MemoryOptimizer, getGlobalMemoryOptimizer, shutdownGlobalMemoryOptimizer, withMemoryOptimization, type MemoryOptimizationOptions, type MemoryStats, type ChunkSizeRecommendation } from './memory-optimizer';
export { AdaptiveStreamer, getGlobalAdaptiveStreamer, shutdownGlobalAdaptiveStreamer, type AdaptiveStreamingOptions, type StreamingMetrics } from './adaptive-streamer';
export { IntelligentChunker, getGlobalIntelligentChunker, shutdownGlobalIntelligentChunker, type ChunkingOptions, type DataCharacteristics, type ChunkDecision } from './intelligent-chunker';
export { ResourcePool, ResourcePoolManager, GcOptimizer, getGlobalResourcePoolManager, shutdownGlobalResourcePoolManager, createBufferPool, createObjectPool, type ResourcePoolOptions, type ResourceTypeConfig, type PoolStats, type GcStats } from './resource-pool';
export { CircuitBreaker, CircuitBreakerManager, getGlobalCircuitBreakerManager, shutdownGlobalCircuitBreakerManager, CircuitState, type CircuitBreakerOptions, type CircuitBreakerMetrics } from './circuit-breaker';
export { ResourceLeakDetector, getGlobalResourceLeakDetector, shutdownGlobalResourceLeakDetector, trackResource, type LeakReport } from './resource-leak-detector';
export { EnhancedErrorHandler, getGlobalEnhancedErrorHandler, shutdownGlobalEnhancedErrorHandler, withErrorHandling, type ErrorContext, type RecoveryStrategy, type ErrorMetrics } from '../utils/enhanced-error-handler';
export { InputValidator, type ValidationResult, type ValidationError } from '../utils/input-validator';
/**
* Initialize all performance optimizations with default settings
*/
export declare function initializePerformanceOptimizations(options?: {
enableParallelProcessing?: boolean;
enableMemoryOptimization?: boolean;
enableAdaptiveStreaming?: boolean;
enableIntelligentChunking?: boolean;
enableResourcePooling?: boolean;
enableErrorReduction?: boolean;
maxWorkers?: number;
memoryLimitMB?: number;
errorReductionLevel?: 'basic' | 'standard' | 'comprehensive';
}): void;
/**
* Shutdown all performance optimizations
*/
export declare function shutdownPerformanceOptimizations(): void;
/**
* Enhanced shutdown with proper error handling
*/
export declare function shutdownPerformanceOptimizationsEnhanced(): Promise<void>;
/**
* Get comprehensive performance statistics
*/
export declare function getPerformanceStats(): {
parallel: any;
memory: any;
streaming: any;
chunking: any;
resources: any;
};
/**
* Get overall system health status
*/
export declare function getSystemHealthStatus(): {
status: 'healthy' | 'degraded' | 'unhealthy';
score: number;
issues: string[];
recommendations: string[];
};
/**
* Emergency system recovery function
*/
export declare function emergencySystemRecovery(): Promise<{
success: boolean;
actions: string[];
errors: string[];
}>;
//# sourceMappingURL=index.d.ts.map