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

Function pregenerate_entries

benchmarks/src/postprocessing/overview.py:212–221  ·  view source on GitHub ↗
(database: Database, directory: Path)

Source from the content-addressed store, hash-verified

210
211
212def pregenerate_entries(database: Database, directory: Path) -> EntryMap:
213 logging.info("Generating report files and statistics")
214
215 entry_map = {}
216 with Pool() as pool:
217 args = [(record, directory) for record in database.records]
218 for (record, _), entry in tqdm.tqdm(zip(args, pool.imap(generate_entry, args)), total=len(args)):
219 if entry is not None:
220 entry_map[record.benchmark_metadata["key"]] = entry
221 return entry_map
222
223
224def generate_summary_html(database: Database, directory: Path) -> Path:

Callers 4

generate_comparison_htmlFunction · 0.85
create_summary_pageFunction · 0.85
create_comparer_pageFunction · 0.85
serve_summary_htmlFunction · 0.85

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected