perf(flow-chat): stabilize historical session rendering#1077
Merged
Conversation
9268a69 to
da196ac
Compare
da196ac to
871be3d
Compare
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.
修改前后对比
Refs #949
测试口径:Windows desktop
release-fast性能 E2E,结论以用户场景端到端结果为准。下面的“可比对比样本”和“质量防护样本”不是同一个 fixture,不能横向比较数值。可比对比样本
这组数据用于判断 issue 关键场景的端到端变化,
修改前使用 issue 创建期或最早可追溯的问题基线。质量防护样本
这组数据来自更重的 120-turn dense fixture,只用于验证 loading 回闪、裸白和滚动回跳防护,不作为上表的性能 delta 依据。
变更范围
风险与功能影响
interactive_shell_ready相关耗时。验证
pnpm run lint:webpnpm run type-check:webpnpm --dir src/web-ui run test:run src/app/startup/startupPerformanceContract.test.ts src/app/startup/deferredStartupSystems.test.ts src/flow_chat/components/modern/ModernFlowChatContainer.history-state.test.tsx src/flow_chat/store/FlowChatStore.test.tspnpm --dir src/web-ui run test:run src/app/startup/deferredStartupSystems.test.ts src/app/startup/startupPerformanceContract.test.ts src/flow_chat/components/modern/VirtualMessageList.layout.test.tspnpm --dir src/web-ui run test:run src/flow_chat/services/flow-chat-manager/SessionModule.test.ts src/flow_chat/components/modern/ModernFlowChatContainer.history-state.test.tsx src/flow_chat/store/FlowChatStore.test.ts src/flow_chat/components/modern/VirtualMessageList.layout.test.ts src/flow_chat/components/modern/modelRoundItemGrouping.test.ts src/app/startup/startupPerformanceContract.test.tscargo check -p bitfun-desktopgit diff --checkgit diff --cached --checkpnpm run desktop:build:release-fastBITFUN_E2E_PERF_SESSION_ID=perf-flicker-debug-000 pnpm run e2e:test:perf:release-fast