function

benchmarks.hota.report.write_json

def write_json(results: list[BenchmarkResult], path: str | Path, metadata: dict) -> None

Write ``results`` as a JSON document with a ``metadata`` block.

Source: unitrack/benchmarks/hota/report.py:36