Copilot TUI hogs CPU
还没有人认领这个 Issue。
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
Describe the bug
When I open copilot TUI, it hogs one CPU (~6-7% on a 16 core machine).
After I run a prompt, that number multiplies to e.g. 2, 3 or 4 CPUs hogged while the TUI sits idle.
Affected version
GitHub Copilot CLI 1.0.83.
Steps to reproduce the behavior
- start copilot TUI, observe CPU usage (sometimes i need to type a bit in the prompt box for the issue to appear)
- run a prompt or two, observe CPU usage
Expected behavior
copilot TUI CPU usage is negligible while the program sits idle.
Additional context
Ubuntu 24.04, x86_64, GitHub Copilot CLI 1.0.83..
Logs below. I opened a session, typed in the prompt box (already 1 CPU hogged at that point), then gave a plan command. after the plan.md was written and the TUI was idle, it used 3-4 CPUs.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 Ubuntu 24.04 上使用 GitHub Copilot CLI 1.0.83 重现该报告,先观察空闲的 TUI,然后运行一个或两个 prompt。检查提供的 process-1788769402724-57168.tar.gz 日志,并比较 prompt 前后的 CPU 使用率。当打开并使用 prompt 后,空闲 TUI 的 CPU 使用率可以忽略不计时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github, shell
- 领域
- cli, operating-systems, performance
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100