MCPcopy Create free account
hub / github.com/tox-dev/filelock / Sample

Class Sample

tasks/benchmark.py:36–42  ·  view source on GitHub ↗

One measured metric, in the unit named by ``unit``.

Source from the content-addressed store, hash-verified

34
35@dataclass(frozen=True)
36class Sample:
37 """One measured metric, in the unit named by ``unit``."""
38
39 name: str
40 median: float
41 p95: float
42 unit: str
43
44
45def main() -> None:

Callers 5

_timeout_cpuFunction · 0.85
_descriptor_growthFunction · 0.85
_cancellation_latencyFunction · 0.85
_contentionFunction · 0.85
_timedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected