Repository navigation
长任务对话后页面卡死无法动弹 #359
littersnaker
started this conversation in
Ideas
Replies: 2 comments
|
同样遇到"长任务后页面卡死",补充本次实测的规模数据,供虚拟滚动/渲染优化参考:
支持"虚拟滚动 + 超大文本截断 + 高亮移出主线程"的优化方向;另见 #2119(history 分页负载)与 #511(卡死后的运行状态)的机制讨论。 |
0 replies
|
顺着「卡死」这条线排查后定位到渲染路径,方案已实现并测试通过,完整说明放在 #7579:
改动方向:render 期把已加载 order 投影到固定轮次预算(默认最新 5 轮),更早轮次收敛成 1 个折叠行,挂载行数与会话长度解耦;折叠行按页上抬,上限 8 页后由「加载更早」接管。 在 12 轮×6 行 与 40 轮×2 行两种会话上,挂载行数实测相同。单测 31 files / 369 tests 全通过。 (本仓库 Issues 与 PR 入口均未开放,因此按 Discussion 提交。) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
All reactions