Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for codspeed (0.09 sec)

  1. tests/benchmarks/test_general_performance.py

    from typing import Annotated, Any
    
    import pytest
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    if "--codspeed" not in sys.argv:
        pytest.skip(
            "Benchmark tests are skipped by default; run with --codspeed.",
            allow_module_level=True,
        )
    
    LARGE_ITEMS: list[dict[str, Any]] = [
        {
            "id": i,
            "name": f"item-{i}",
    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