Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for do_request (0.04 sec)

  1. tests/benchmarks/test_general_performance.py

        warmup = client.get(path)
        assert warmup.status_code == 200
    
        def do_request() -> tuple[int, bytes]:
            response = client.get(path)
            return response.status_code, response.content
    
        return benchmark(do_request)
    
    
    def _bench_post_json(
        benchmark, client: TestClient, path: str, json: dict[str, Any]
    ) -> tuple[int, bytes]:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 20:40:26 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top