Skip to content

test(index): show that reading an unchanged file scales with unrelated parents - #1071

Closed
deciduously wants to merge 1 commit into
mainfrom
test/authorize-process-input-compounding
Closed

test(index): show that reading an unchanged file scales with unrelated parents#1071
deciduously wants to merge 1 commit into
mainfrom
test/authorize-process-input-compounding

Conversation

@deciduously

Copy link
Copy Markdown
Member

A process is granted Object::Subtree on its command only, so reading its own
input walks up from the object. The proof is one hop long but many other
packages reference that input. The walk enumerates every parent it has
accumulated, so the read gets slower as the store grows.

Reading the same file 200 times costs 0.26s with no other parents and 2.48s
once 640 unrelated packages depend on it.

@nitsky nitsky closed this Aug 26, 2026
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.

2 participants