/** * SMI-632: SearchBenchmark - Search query latency benchmarks * * Features: * - Various query types (simple, complex, phrase, boolean) * - Different result set sizes * - Cold vs warm cache comparison * - BM25 ranking performance */ import { type BenchmarkReport, type BenchmarkConfig } from './BenchmarkRunner.js'; /** * Search benchmark configuration */ export interface SearchBenchmarkConfig extends BenchmarkConfig { /** Number of skills to seed in database */ skillCount?: number; /** Clear cache between iterations */ coldCache?: boolean; } /** * Performance targets for search operations */ export declare const SEARCH_TARGETS: { p50_ms: number; p95_ms: number; p99_ms: number; memoryPeak_mb: number; }; /** * Search query benchmark suite */ export declare class SearchBenchmark { private config; private db; private repo; private search; constructor(config?: SearchBenchmarkConfig); /** * Run all search benchmarks */ run(): Promise; /** * Run cold cache benchmarks (separate from main suite) */ runColdCache(): Promise; /** * Setup database and seed test data */ private setup; /** * Cleanup database resources */ private teardown; /** * Generate test skills with realistic distribution */ private generateTestSkills; } /** * Validate search benchmark results against targets */ export declare function validateSearchResults(report: BenchmarkReport): ValidationResult; /** * Validation result */ export interface ValidationResult { passed: boolean; failures: string[]; warnings: string[]; } //# sourceMappingURL=SearchBenchmark.d.ts.map