[建议 / Feature] 性能优化,运行一个小时左右任务,整个页面非常卡顿,基本不可用
Open
Nobody has claimed this yet.
priority: P2
status: 待评估
type: 功能建议
- Dominant language
- No language data
- Stars
- 22
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
提交前确认 · Pre-submission checklist
- 我已搜索过现有 issue,确认这不是重复提议 / I searched existing issues and confirmed this isn't a duplicate.
- 我已阅读 CONTRIBUTING.md / I've read CONTRIBUTING.md.
产品模块 · Product module
模块A · Module A
使用场景 · Use case
- 运行长时间任务,整个应用卡顿,掉帧,输入框输入文字延时很高
- 重新打开具有长上下文的对话,应用会整个卡死,可能十来秒才能显示
https://github.com/user-attachments/assets/a4060796-973d-48dc-83b7-a857dd4af0ee
建议方案 · Proposal
使用 pretext + 虚拟化列表,数据分页
预期价值 · Expected value
- 长列表可以 60 fps+ 滚动
- 打开历史对话,可以秒开
你认为的优先级 · Your perceived priority
高 · High
你使用的 ZCode 版本 / 环境 · ZCode version / environment
v2.3.0/Mac 32G apple silicon 26.4.2
补充材料 · Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the lag during an hour-long task and the freeze when reopening a long-context conversation on ZCode v2.3.0 for Mac. Compare scrolling smoothness and conversation-open time before and after the change; the stated goals are 60 fps+ scrolling and near-instant history loading.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos
- Domain
- frontend, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100