Documentation

loaders

Load benchmark results from saved files.

Functions

function
load_latency_result(results_dir: Path) LatencyBenchmarkResult | None

Load latency results from CSV/JSON files.

Load latency results from CSV/JSON files. Args: results_dir: Directory containing benchmark results Returns: LatencyBenchmarkResult or None if not found
Parameters
  • results_dir: Path
function
load_memory_results(results_dir: Path) list[MemoryBenchmarkResult]

Load memory results from summary.csv.

Load memory results from summary.csv. Args: results_dir: Directory containing benchmark results Returns: List of MemoryBenchmarkResult objects (minimal, for multi-corpus chart)
Parameters
  • results_dir: Path
function
load_progressive_result(results_dir: Path) ProgressiveLoadResult | None

Load progressive results from CSV and JSON files.

Load progressive results from CSV and JSON files. Args: results_dir: Directory containing benchmark results Returns: ProgressiveLoadResult or None if not found
Parameters
  • results_dir: Path