MCPcopy Create free account
hub / github.com/encode/starlette / BenchmarkCase

Class BenchmarkCase

benchmarks/multipart_benchmark.py:21–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20@dataclass(frozen=True)
21class BenchmarkCase:
22 id: str
23 fields: int = 0
24 field_size: int = 8
25 file_sizes: tuple[int, ...] = ()
26 chunk_size: int | None = 64 * KiB
27 boundary_like: bool = False
28 malformed: bool = False
29 max_files: int = 1000
30 max_fields: int = 1000
31 max_part_size: int = MiB
32 expected_error: str | None = None
33 warmup: bool = False
34
35
36CASES = (

Callers 2

warm_multipartFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected