Skip to content

Instantly share code, notes, and snippets.

View lordekeen's full-sized avatar

Jhonny Rosa lordekeen

View GitHub Profile
@lordekeen
lordekeen / perf-repro.mjs
Last active October 5, 2026 21:04
pi-qdrant-memory: perf repro — session-start scan blocks the event loop; reload discards the readiness memo
/**
* Reproduction for two pi-qdrant-memory performance findings.
*
* node --version # needs Node >= 22 with native TS type stripping
* node perf-repro.mjs /path/to/pi-qdrant-memory
*
* Measurement only: reads the repo's sources, writes nothing to it.
* Creates and removes a synthetic repo under the OS temp dir.
*/
import { performance } from "node:perf_hooks";