Copilot TUI hogs CPU
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduziere den Bericht unter Ubuntu 24.04 mit GitHub Copilot CLI 1.0.83, indem du zuerst eine inaktive TUI beobachtest und anschließend einen oder zwei Prompts ausführst. Untersuche die bereitgestellten process-1788769402724-57168.tar.gz-Logs und vergleiche die CPU-Auslastung vor und nach dem Prompt. Als abgeschlossen gilt dies, wenn die CPU-Auslastung der inaktiven TUI nach dem Öffnen und Verwenden des Prompts vernachlässigbar ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github, shell
- Bereich
- cli, operating-systems, performance
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100