MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / serve_html

Function serve_html

benchmarks/postprocess.py:62–69  ·  view source on GitHub ↗

Serves a HTML summary of benchmark results, includes comparisons

(
    database_path: Path = typer.Argument(..., exists=True),
    directory: Path = Path("summary"),
    port: int = 5555,
)

Source from the content-addressed store, hash-verified

60
61@summary.command("serve")
62def serve_html(
63 database_path: Path = typer.Argument(..., exists=True),
64 directory: Path = Path("summary"),
65 port: int = 5555,
66):
67 """Serves a HTML summary of benchmark results, includes comparisons"""
68 database = load_existing_database(database_path)
69 serve_summary_html(database, directory, port)
70
71
72if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

load_existing_databaseFunction · 0.90
serve_summary_htmlFunction · 0.90

Tested by

no test coverage detected