macvim-dev / macvim-dev/macvim

high cpu usage after update to MacVim r179 (Vim 9.1.0)

Aperta
#1,474 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Vim Script
Stelle
7.9k
Fork
691
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Steps to reproduce
  1. Update to MacVim r179 (Vim 9.1.0)
  2. 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 (or gvim, 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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia riproducendo l’utilizzo elevato della CPU con MacVim r179 (Vim 9.1.0) su arm64 macOS 13.5.2, quindi confronta il comportamento della GUI segnalato con una configurazione pulita. Il problema è risolto quando viene identificata la fonte dell’utilizzo sostenuto della CPU e viene ripristinato un utilizzo normalmente basso.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
vim
Ambito
desktop, performance
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.