Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

chore(bench): mark the benchmark fixture's direct link write

garrytanfc1121cae580
diff --git a/scripts/bench-graph-walk.ts b/scripts/bench-graph-walk.ts
index f52ea44937..faf447eb96 100644
--- a/scripts/bench-graph-walk.ts
+++ b/scripts/bench-graph-walk.ts
@@ -58,7 +58,7 @@ async function seed(engine: BrainEngine) {
t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
};
- await engine.addLinksBatch(links);
+ await engine.addLinksBatch(links); // gbrain-allow-direct-insert: benchmark fixture seeding a throwaway brain
const seen = new Set<string>();
const from: number[] = [];
const to: number[] = [];