supermemory/packages/memory-graph/scripts
Thanniru Sai Teja ca06bfd7b6 perf(memory-graph): add engine-independent V8 benchmark, extend to 100k
The Bun-based benchmark alone is misleading: Bun's JavaScriptCore engine
optimizes Array.shift() well enough that it shows almost no difference
between the old and new implementation, even though this component runs
in users' browsers (predominantly V8), where the gap is real and grows
with graph size. Added bench-cluster-assignments-v8.mjs, a standalone
zero-dependency script runnable with plain `node`, so the V8 numbers are
independently reproducible rather than just asserted. Both benchmarks now
print a warning when run under the wrong engine and go up to 100k nodes.
2026-09-29 18:10:05 +05:30
..
bench-cluster-assignments-v8.mjs perf(memory-graph): add engine-independent V8 benchmark, extend to 100k 2026-09-29 18:10:05 +05:30
bench-cluster-assignments.ts perf(memory-graph): add engine-independent V8 benchmark, extend to 100k 2026-09-29 18:10:05 +05:30
swap-exports.ts Rewrite @supermemory/memory-graph with perf optimizations + consolidate consumers (#809) 2026-03-28 19:06:27 -07:00