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

Function summary_by_benchmark

benchmarks/src/postprocessing/overview.py:234–240  ·  view source on GitHub ↗
(df: pd.DataFrame, file)

Source from the content-addressed store, hash-verified

232
233
234def summary_by_benchmark(df: pd.DataFrame, file):
235 grouped = df.groupby(["workload", "workload-params", "env", "env-params"])["duration"]
236 with pd_print_all():
237 for group, data in sorted(grouped, key=lambda item: item[0]):
238 result = data.describe().to_frame().transpose()
239 print(" ".join(group), file=file)
240 print(f"{result}\n", file=file)
241
242
243def two_level_summary(

Callers 2

generateFunction · 0.85
summary_reader_bufferMethod · 0.85

Calls 1

pd_print_allFunction · 0.85

Tested by

no test coverage detected