perf(mobile): show cached child content first and drop sibling prefetch - #21
Closed
iscekic wants to merge 1 commit into
Closed
Conversation
This was referenced Sep 1, 2026
Owner
Author
|
bot: closing — kwf experiment artifact, superseded |
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.
What changed
Why
The measured bottleneck was the sibling-transcript prefetch that ran when the parent loaded. It fetched every child transcript to fill card labels.
The fix removes that prefetch, keeps child cards cheap, serves cached content first, and gives the opened child priority.
Verification
mobile: typecheck, unit, and i18n gates passed.mobile-device: verifier passed.mobile-device: spot check clean.web: setup-smoke did not pass (advisory while unhardened).Cold open — tap to first useful child content.
ux-audit-warm-reopen.mp4.trim.mp4
Warm reopen — cached child content shown at once.
case.mp4.trim.mp4
Return to parent — child reopen measured correctly.
case.mp4.trim.mp4
Many children — one child opened, siblings not prefetched.
ux-audit-cold-open.mp4.trim.mp4
Slow network — cached content served while the refresh is pending.
ux-audit-child2-cold-open.mp4.trim.mp4
Spot check — clean.
case.mp4.trim.mp4
Web profile setup-smoke test failed on Chromium.
Notes for the reviewer
This PR changes mobile files only. The web setup-smoke failure is marked advisory in the evidence.
PR stack (merge bottom to top)
kwf/deliver-the-work-described-b-ad46-l1)kwf/deliver-the-work-described-b-ad46-l2)kwf/deliver-the-work-described-b-ad46-l3)kwf/deliver-the-work-described-b-ad46-l4)kwf/deliver-the-work-described-b-ad46-l5)kwf/deliver-the-work-described-b-ad46-l6)kwf/deliver-the-work-described-b-ad46-l7kwf/deliver-the-work-described-b-ad46-l11)kwf/deliver-the-work-described-b-ad46-l12kwf/deliver-the-work-described-b-ad46-l13) ← this PR