Skip to content

Reuse visualizer centroid membership during graph updates - #39

Merged
jsflax merged 1 commit into
mainfrom
fix/visualizer-centroid-slots-20261019
Oct 19, 2026
Merged

jsflax merged 1 commit into
mainfrom
fix/visualizer-centroid-slots-20261019

Conversation

@jsflax

@jsflax jsflax commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Large graph loads periodically stall while the visualizer rebuilds project and galaxy aggregates. Cache project, galaxy and cluster membership using the registry’s append-generation contract, then reuse numeric buffers for centroid and radius calculations. Preserve refresh cadence, moving positions, missing-position handling, ownership changes and existing grouping behavior. Replacing a registry also invalidates snapshots when its revision counters match the old registry.

Validation on d2e221635de5ee2f1935c26d87f9aecf0ee282c9:

  • 79 app tests passed, including four new centroid regressions.
  • 646 native tests passed; 13 existing disabled cases remain.
  • 1,067 plugin tests passed; one existing optional skip remains.
  • All three required Metal tests, seven actual MCP cases, and source/dependency/cleanup checks passed.
  • Independent source review passed.

The completed live capture also shows substantial non-periodic tick cost. This change addresses the repeated aggregate work; packaged performance measurement is still required, and no measured speedup is claimed.

@jsflax
jsflax marked this pull request as ready for review October 19, 2026 07:44
@jsflax
jsflax merged commit 64feee2 into main Oct 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant