Skip to content

pytest_park.data

source package pytest_park.data

Classes

Functions

source class BenchmarkLoadError()

Bases : ValueError

Raised when a benchmark artifact cannot be parsed.

source class ProfilerLoadError()

Bases : ValueError

Raised when profiler artifacts cannot be loaded.

source load_benchmark_folder(folder: str | Path, original_postfix: str | None = None, reference_postfix: str | None = None)list[BenchmarkRun]

Load pytest-benchmark JSON artifacts from a folder recursively.

Raises

source load_profiler_folder(folder: str | Path)dict[str, dict[str, dict[str, Any]]]

Load profiler JSON files and return data grouped by run_id and case key.

Raises