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

Function cluster_serve

benchmarks/postprocess.py:21–27  ·  view source on GitHub ↗

Serve a HTML file with monitoring and profiling report for the given directory

(
    directory: Path = typer.Argument(..., exists=True, file_okay=False),
    port: int = 5555,
)

Source from the content-addressed store, hash-verified

19
20@cluster.command("serve")
21def cluster_serve(
22 directory: Path = typer.Argument(..., exists=True, file_okay=False),
23 port: int = 5555,
24):
25 """Serve a HTML file with monitoring and profiling report for the given directory"""
26 report = ClusterReport.load(directory)
27 serve_cluster_report(report, port=port)
28
29
30@cluster.command("generate")

Callers

nothing calls this directly

Calls 2

serve_cluster_reportFunction · 0.90
loadMethod · 0.80

Tested by

no test coverage detected