perf(neo4j): stream Cypher snapshots to disk - #120
Conversation
|
Thanks for this — taking it. The snapshot writer was the one path still joining its whole output in memory. I fixed the same ceiling for I reviewed the diff carefully and verified it rather than taking the description on trust: Review. Verified locally at scale, since the test in the PR uses a small fixture. Projecting Apache Superset's frontend (124,866 nodes / 314,675 edges) and comparing the streamed file against the compatibility renderer: Full suite passes on the branch: 244 pass, 0 fail. Keeping |
Summary
renderCypheras a compatibility API backed by the same ordered block iterator.Evidence
Validation
bun test test/neo4j-schema.test.ts test/neo4j-edge-identity.test.tsbun run typecheckPrior art
Disclosure
Investigated thoroughly with GPT-5.6 (extra high reasoning effort), using Oh My Pi as the agent framework.
This report is not generic or unreviewed AI-generated output.
Its claims were checked against the cited evidence, and it includes the relevant detail intended to help maintainers resolve the issue.
If reports like this are not useful to the project, please let me know and I will refrain from submitting similar ones.
My intent is to help without wasting maintainer time or energy or discouraging their work.
Thank you for your work.