Warm up the pool with a few requests.
(self, requests: int = 10)
| 276 | self._tmpdir = None |
| 277 | |
| 278 | def warmup(self, requests: int = 10): |
| 279 | """Warm up the pool with a few requests.""" |
| 280 | with DirtyClient(self.socket_path, timeout=30.0) as client: |
| 281 | for _ in range(requests): |
| 282 | client.execute(BENCHMARK_APP, "health") |
| 283 | |
| 284 | def run_benchmark( |
| 285 | self, |
no test coverage detected