Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for warmups (0.07 sec)

  1. .teamcity/src/main/kotlin/configurations/TestPerformanceTest.kt

                    listOf(
                        "clean",
                        "performance:${testProject}PerformanceAdHocTest",
                        tests.map { """--tests "$it"""" }.joinToString(" "),
                        """--warmups 2 --runs 2 --checks none""",
                        "-PtestJavaVersion=${os.perfTestJavaVersion.major}",
                        "-PtestJavaVendor=${os.perfTestJavaVendor.name.lowercase()}",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 25 10:54:09 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. tests/benchmarks/test_general_performance.py

    def client() -> Iterator[TestClient]:
        with TestClient(app) as client:
            yield client
    
    
    def _bench_get(benchmark, client: TestClient, path: str) -> tuple[int, bytes]:
        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)
    
    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