Repository navigation
perf(mobile): tabs switch and threads open 2-3x faster, Android idle CPU down 79% - #46800
Conversation
|
Macroscope skipped reviewing this pull request. Per-review cost limit exceeded (workspace setting). This review would cost an estimated $16.93, which exceeds your per-review limit of $15.00. The top 3 files driving up this estimate:
Tip To get this pull request reviewed, you can:
|
|
This PR changes the test suite by +39 test cases (browser 0, unit +39, server 0). Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing. |
ApprovabilityVerdict: Needs Human Approval Macroscope's review found this PR requires human approval — The PR reduces mobile startup, tab-switching, and thread-rendering work through caching and narrower subscriptions. It also adds lint-suppression directives around state synchronization, which require human review under the repository’s approval rules. Needs human approval because:
Review your spending limits in Billing settings, or comment |
|
Found 10 test failures on Blacksmith runners: Failures
|
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosNo All 64 scenario measurements
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
…d and iOS - Android keeps Settings mounted as a retained tab pane, and hidden panes no longer re-render on a tab switch. - Thread opens start rows at remembered or estimated heights, parse markdown once, and draw highlighted code as color runs. - Streaming text re-renders only the streaming row. - Resume, New chat and idle stop redoing work whose result did not change. - Cold start loads rarely used screens lazily and keeps KaTeX out of the bundle. - Background reports reach hosts immediately on Android.
It logged for a measurement script that lives outside this repository. Also drops a test of a small identity helper. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Workflow scripts render every highlighted run as text again, so the font matches main instead of mixing. - Project picker rows re-render when the list length or the pick handler changes, so corners and share handling stay current while searching. - Hidden Android tabs no longer freeze after a minute: that traded memory for rebuilt views and dropped subscriptions, which is a separate decision. - Moves a doc comment back onto the function it describes and drops a test that restated the row-height heuristic. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…addEventListener in storage test
77e3ad5 to
a511c2a
Compare
35c7002 to
3b1da16
Compare
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-v2-3x.png)
The mobile app work: Settings retained as an Android pane, less re-rendering,
LiveReplyRow, row-height memory, lazy screens, highlight color runs, prewarming, and patches to LegendList,@expo/uiand gt-i18n. On top of the author's commit:isLastandchooseProjectwere not inextraData).check:changedpasses on this layer.Supersedes #46768. The change is @vkpdeveloper's; their commits are kept.
Layer 3 of 3, on top of #46799.