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

Function _one

tasks/benchmark.py:193–196  ·  view source on GitHub ↗
(run: Callable[[], object])

Source from the content-addressed store, hash-verified

191
192
193def _one(run: Callable[[], object]) -> float:
194 started = time.perf_counter()
195 run()
196 return time.perf_counter() - started
197
198
199def _percentile(values: list[float], percentile: int) -> float:

Callers 1

_timedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected