/** * Performance Regression Tests * * These tests establish performance baselines for key operations in @dotdo/postgres-shared * and detect regressions when performance drops significantly. * * ## How Regression Detection Works * * 1. Each test measures operation timing with multiple iterations * 2. Statistical analysis (p50, p95, p99) provides robust metrics * 3. Results are compared against registered baselines with tolerance * 4. Tests fail if performance exceeds baseline by more than tolerance factor * * ## Adding New Baselines * * 1. Use measureTiming() to measure your operation * 2. Register a baseline with expected p50/p95 values * 3. Use custom matchers like toBeFasterThan() or toBeWithinBaseline() * * ## Environment Considerations * * - CI environments are typically slower than local development * - Baselines have environment-specific overrides * - Use globalBaselines.setEnvironment('ci') in CI pipelines * * Issues: postgres-9zvs, postgres-2paw */ export {}; //# sourceMappingURL=performance-regression.test.d.ts.map