MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / loadBenchRun

Function loadBenchRun

scripts/run-bench-ci.mjs:282–288  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

280}
281
282function loadBenchRun(path) {
283 const raw = readJson(path, "results");
284 if (!isPlainObject(raw) || !Array.isArray(raw.results)) {
285 fail(`results: ${path} must be a benchmark run object with a results[] array`);
286 }
287 return raw;
288}
289
290async function loadTerminalScenarioManifest() {
291 if (!existsSync(BENCH_SCENARIO_INDEX_PATH)) {

Callers 1

mainFunction · 0.85

Calls 3

readJsonFunction · 0.70
isPlainObjectFunction · 0.70
failFunction · 0.70

Tested by

no test coverage detected