Repository navigation
Conversation
This was referenced Aug 30, 2026
Owner
Author
|
Superseded by upstream Silo-Server#838. Keeping the head branch because the upstream PR uses it; this fork PR is no longer needed. |
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.
Problem
Related issue: N/A — narrow follow-up to Silo-Server#834 maintainer review.
This draft contains only the three non-blocking navigation observations deliberately left out of Silo-Server#834:
This remains a stacked draft. Its declared base is
perf/cross-browser-home-navigationatf2d859e4, while head73f836b0explicitly merges exact Silo-Server#834 headc5968f90for combined validation. It is not independently based on upstreammain. After Silo-Server#834 merges, only the three refinement commits must be transplanted onto current upstreammainand revalidated before opening the upstream PR.Approach
will-changestays active-only, a new handoff replaces the previous outgoing slot, reduced motion retains nothing, and the cleanup timer is cleared on replacement or unmount.No blur, page snapshot, unbounded cache, worker, background process, or retained hidden animation was added.
Validation
Focused regression coverage
Against Silo-Server#834 head
f2d859e4, the implementation commit is431f28c5;50f1cf49only fixes the test typing so the CItsc -bbuild accepts the assertions. Combined head73f836b0then merges exact Silo-Server#834 headc5968f90, including its eager-row restoration and full thumbhash-fade acceptance fixes.c5968f90.will-change-transform, and one animation after 1000 ms. Unmount leaves zero timers. Reduced motion retains no outgoing motion.Real headed browsers
These were real installed browsers, not user-agent spoofing or simulators:
152.0.7977.65, driven through Chrome DevTools.154.0.1, driven by Mozilla geckodriver0.37.1withmoz:headless=falseandmoz:windowless=false.26.5.2, driven by Apple SafariDriver withsafari:useSimulator=false.Chrome and Firefox each ran 24 baseline and 24 after cycles at 1440 px: 12 repeated same-item cycles and 12 different-item cycles. Every completed run returned to a fully restored Home.
f2d859e4baselinehomeItemReturn=trueFirefox opening remained effectively unchanged as well: median per-run p95 was 17.08 ms before and after, with worst gaps of 66.66 ms and 66.68 ms. Chrome opening p95 stayed around one 60 Hz frame; isolated item-page DOM work still produced the same class of larger single gaps in both revisions.
Chrome exposed long tasks. Baseline return runs recorded 24 tasks, 1762 ms total, 111 ms maximum; the follow-up recorded 24 tasks, 1857 ms total, 114 ms maximum. That small increase is reported as noise rather than hidden: frame p95, CLS, visual motion, DOM completion, and retained animation counts did not regress. Firefox and Safari did not expose
longtaskorlayout-shiftthroughPerformanceObserver, so I am not reporting unsupported zeroes.The Chrome GC-visible heap delta was +48,741,260 bytes before and +45,782,876 bytes after. DevTools' retained document/node counters moved from 6→7 and 23,309→32,009 before, versus 7→8 and 24,905→33,601 after. Those are run-scoped retention signals, not proof of a leak or an improvement; the critical live DOM returned to 7571 and active animations returned to two in both revisions. Firefox and Safari did not provide an equivalent trustworthy memory signal in this harness.
The live Home had 10 rows, so it did not engage the new 900 ms cap. The browser restoration numbers therefore stay essentially unchanged; the 20-row timer regression is the evidence for the cap itself.
For Safari, I discarded an early JavaScript-click harness that polled WebDriver every 20–40 ms during motion. It forced coarse 160–224 ms animation-frame sampling and visibly disrupted the page, so those numbers are not treated as product performance. Repeating the test through native W3C element clicks without transition-time polling restored the previously accepted Safari path. The final uninterrupted attempt completed seven smooth different-item Home→item→Home cycles before SafariDriver accepted a no-op duplicate Back target and stopped the harness; earlier corrected attempts also completed clean cycles. blurbery manually confirmed the corrected Safari run was “perfect” and “way smoother.” The Safari probes reported 7571 live DOM nodes, two active animations, and the 112×48 wordmark loaded. I am not fabricating a numerical Safari frame summary from the interrupted driver run.
blurbery also manually confirmed the completed Chrome and Firefox runs were smooth. Orion was not rerun for this follow-up because it has no equivalent automation driver in the connected tooling; no user-agent substitution is reported as an Orion result.
Risks and follow-up
c5968f90. This draft includes that exact head for combined validation, but it is not a clean upstream-main branch. After perf(web): smooth Home item navigation across browser engines Silo-Server/silo-server#834 merges, transplant only the three refinements onto current upstreammain, rerun the regression comparison, and open a new upstream PR.AI Disclosure
gpt-5.6-solf2d859e4with the follow-up; traced direct Home, Home→item→Home, unrelated Back→Home, library→item, item→item, mobile gates, reduced motion, modified links, rapid/replaced hero fades, interrupted restoration, resize cleanup, 20-row completion, and timer/listener/observer/animation cleanup. Browser evidence is separated from unsupported or harness-distorted measurements.Checklist