diagnostics: LPG residency accounting + compact/lazy experiments - #4
Open
jarmen423 wants to merge 1 commit into
Open
diagnostics: LPG residency accounting + compact/lazy experiments#4jarmen423 wants to merge 1 commit into
jarmen423 wants to merge 1 commit into
Conversation
Attribute property map slots, string payloads, capacity waste, and adjacency; add shrink + dictionary-compress experiments with RSS and correctness checks for the Track E residual investigation.
jarmen423
added a commit
that referenced
this pull request
Aug 2, 2026
Charge max_schema_bytes for all schema-bounded structures: - node_schema (labels + label_to_table_id + table_row_counts) - rel_keys + rel_id_map (edge type schema) - schema_strings (global dictionary schema strings) - column geometries (per-column metadata) N-vs-4N test now shows schema_peak=476 B (non-zero, constant across scales as expected for schema-bounded data). anon_peak and temp_peak remain 0 — those require charging at the pass/run-store level (future work). GATES: - grafeo-core: 2130 passed - n_vs_4n_peak_memory: PASSED (delta ratio 0.75x)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Expand Grafeo LPG memory accounting (property columns, strings, capacity waste, adjacency) and measure compact/lazy representations.
Separate from close-forensics PR #2.
Head:
195678c36b335022c9a2add4f755bb675955feb2Measured (synthetic 200k strings / 256 unique)
shrink_capacities: no waste/RSS change on this fillSee
docs/TRACK_E_LPG_RESIDENCY.md.Test plan
cargo test -p grafeo-core --test lpg_residency_experimentsMade with Cursor