macvim-dev / macvim-dev/macvim
high cpu usage after update to MacVim r179 (Vim 9.1.0)
Offen
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Vim Script
- Sterne
- 7.9k
- Forks
- 691
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Steps to reproduce
- Update to MacVim r179 (Vim 9.1.0)
- Use it
Expected behaviour
Fairly low CPU usage.
Version of Vim and architecture
MacVim r179 (Vim 9.1.0), arm64
Environment
Operating system: macOS 13.5.2 (22G91)
Arch: arm64
How MacVim was installed
downloaded from github, auto-updated via sparkle
Logs and stack traces
I'll attach a sample taking in Activity Monitor.
I only have 6 windows open. Usually I have way more, and CPU usage is negligible. Now it hovers at around 12%.
I use very few plugins.
Vim configuration where issue is reproducable
No response
Issue has been tested with given configuration
- by running MacVim.app from GUI macOS interface
- by running vim/gvim/etc installed by MacVim
- by running other versions of vim (e.g. /usr/bin/vim)
Issue has been tested with no configuration
- by running
mvim --clean(orgvim, supplied by MacVim distribution) - by running
vim --clean(in terminal, supplied by MacVim distribution) - by running
vim --clean(in terminal, other suppliers, e.g. /usr/bin/vim)
Other conditions
- The both Homebrew packages "vim" and "macvim" are installed
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
Beginne damit, die hohe CPU-Auslastung mit MacVim r179 (Vim 9.1.0) unter arm64 macOS 13.5.2 zu reproduzieren, und vergleiche anschließend das gemeldete GUI-Verhalten mit einer sauberen Konfiguration. Das Problem ist behoben, wenn die Ursache der anhaltenden CPU-Auslastung identifiziert und die normale niedrige Auslastung wiederhergestellt wurde.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- vim
- Bereich
- desktop, performance
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100