perf: performance improvements and fixes#106
Merged
Merged
Conversation
When a thread finished streaming, the streaming→settled row handoff reflowed the lazy list and snapped the scroll offset; an animated correction on top of that read as a visible "scroll up, then glide to the end" jump. Thread a `scrollToBottomAnimated` intent through MessageListView → ChatTranscriptList → MessageList so the stream-end re-assertion snaps to the bottom instantly. Live follow-scrolls during streaming stay animated (separate path), and the new param defaults to true so no other call sites change behavior. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Throttle streaming follow-scrolls through the existing scheduler so they collapse to ~1 scroll per interval instead of one per token, and coalesce scroll-to-bottom requests by animation intent. - Add MarkdownParseCache to memoize settled (non-streaming) markdown parses; live/streaming text is parsed directly and never cached to avoid retaining near-full response copies. - Coalesce streaming markdown re-parses to ~60fps via a leading-edge throttle. - Tune scroll/pin animation curves (spring) and timing constants; refine message fade transitions. - Add temporary ScrollToBottomDiag instrumentation, separating actual scroll calls from skipped requests. - Switch RxCode target code signing to Automatic. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…hive The previous perf commit accidentally bundled a signing-config change into the RxCode target's Release configuration: CODE_SIGN_STYLE was flipped to Automatic and PROVISIONING_PROFILE_SPECIFIER was emptied. The CI archive step signs manually (CODE_SIGN_STYLE=Manual on the command line) and relies on PROVISIONING_PROFILE_SPECIFIER=RxCode in project.pbxproj to scope the provisioning profile (which carries the Associated Domains capability) to this target. With the specifier emptied, the archive could not find a profile with Associated Domains and failed: "RxCode" requires a provisioning profile with the Associated Domains feature. Restore CODE_SIGN_STYLE=Manual and PROVISIONING_PROFILE_SPECIFIER=RxCode to match the last-passing build. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
|
🎉 This PR is included in version 1.15.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
This PR includes several enhancements to optimize performance and address bugs. We automated the Lighthouse setup, improved scrolling stability, and streamlined UI updates. Logging API calls for better monitoring, and resolved issues with MessageList, leading to smoother and more efficient scrolling behavior.
Changes