Repository navigation
优化桌面端流式渲染性能 - #158
Merged
Merged
优化桌面端流式渲染性能#158
Conversation
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.
变更概述
性能测试数据
测试环境为 Vitest、jsdom、React Profiler,使用 300 个会话和 120 次流式更新。
Markdown 测试使用约 10.5KB 内容连续更新 40 次。
基准用于比较相同环境下的相对变化,最终 Electron 运行时仍需结合真实设备继续观察。
验证
tsc -b通过。git diff --check通过。提交
b7247521 perf: reduce desktop streaming render cost10cddd28 perf: isolate sidebar thread list updates