/** * SMI-632: Benchmark module exports * SMI-689: Enhanced with MemoryProfiler integration * SMI-1189: Updated to export from split modules * * Provides performance benchmarking infrastructure for: * - Search query latency * - Indexing throughput * - Statistical analysis * - CI integration * - Memory profiling and leak detection */ export { BenchmarkRunner, type BenchmarkConfig, type BenchmarkResult, type BenchmarkStats, type BenchmarkReport, type BenchmarkDefinition, type BenchmarkFn, type MemoryStats, type EnvironmentInfo, type ComparisonResult, type MetricComparison, type DetailedMemoryStats, type MemoryRegressionInfo, formatReportAsJson, formatReportAsText, formatBytes, compareReports, hasRegressions, getRegressedBenchmarks, getImprovedBenchmarks, } from './BenchmarkRunner.js'; export { DEFAULT_CONFIG } from './types.js'; export { formatBytes as formatBytesUtil } from './formatters.js'; export { hasRegressions as hasRegressionsUtil } from './comparator.js'; export { MemoryProfiler, defaultMemoryProfiler, type MemorySnapshot, type MemoryStats as ProfilerMemoryStats, type MemoryBaseline, type LeakDetectionResult, type MemoryRegressionResult, } from './MemoryProfiler.js'; export { SearchBenchmark, type SearchBenchmarkConfig, type ValidationResult, SEARCH_TARGETS, validateSearchResults, } from './SearchBenchmark.js'; export { IndexBenchmark, type IndexBenchmarkConfig, type ThroughputResult, type SizeImpactResult, type IndexValidationResult, INDEX_TARGETS, validateIndexResults, } from './IndexBenchmark.js'; export { CacheBenchmark, type CacheBenchmarkConfig, type CacheValidationResult, CACHE_TARGETS, validateCacheResults, } from './cacheBenchmark.js'; export { EmbeddingBenchmark, type EmbeddingBenchmarkConfig, type EmbeddingValidationResult, EMBEDDING_TARGETS, validateEmbeddingResults, } from './embeddingBenchmark.js'; export { percentile, mean, sampleStddev, calculateLatencyStats, type LatencyStats, } from './stats.js'; /** * CLI-friendly benchmark runner * * Usage: * npx ts-node -e "import { runAllBenchmarks } from './benchmarks'; runAllBenchmarks()" * * Or with npm script: * npm run benchmark * npm run benchmark -- --suite search * npm run benchmark -- --suite index * npm run benchmark -- --compare baseline.json */ export declare function runAllBenchmarks(options?: CLIOptions): Promise; /** * CLI options for benchmark runner */ export interface CLIOptions { /** Run specific suite (search, index, cache, embedding) */ suite?: 'search' | 'index' | 'cache' | 'embedding'; /** Path to baseline JSON for comparison */ compare?: string; /** Output format (text, json) */ output?: 'text' | 'json'; /** Number of iterations (overrides default) */ iterations?: number; /** SMI-689: Enable memory profiling */ memory?: boolean; /** SMI-689: Memory regression threshold percentage */ memoryThreshold?: number; /** SMI-689: Path to memory baselines JSON file */ memoryBaseline?: string; } //# sourceMappingURL=index.d.ts.map