| 1 | { |
| 2 | "_comment": "Performance bounds for benchmark tests with transactions by environment", |
| 3 | "local": { |
| 4 | "_comment": "Default bounds for local development - more relaxed thresholds for transactions", |
| 5 | "min_throughput_msg_per_sec": 230.0, |
| 6 | "max_p95_latency_ms": 6000.0, |
| 7 | "max_error_rate": 0.02, |
| 8 | "min_success_rate": 0.98, |
| 9 | "max_p99_latency_ms": 8000.0, |
| 10 | "max_memory_growth_mb": 800.0, |
| 11 | "max_buffer_full_rate": 0.05, |
| 12 | "min_messages_per_poll": 0.0 |
| 13 | }, |
| 14 | "ci": { |
| 15 | "_comment": "Stricter bounds for CI environment - production-like requirements for transactions", |
| 16 | "min_throughput_msg_per_sec": 150.0, |
| 17 | "max_p95_latency_ms": 5000.0, |
| 18 | "max_error_rate": 0.01, |
| 19 | "min_success_rate": 0.99, |
| 20 | "max_p99_latency_ms": 7000.0, |
| 21 | "max_memory_growth_mb": 600.0, |
| 22 | "max_buffer_full_rate": 0.03, |
| 23 | "min_messages_per_poll": 0.0 |
| 24 | }, |
| 25 | "_default_environment": "local" |
| 26 | } |