qvacua / vimr

VimR — Neovim GUI for macOS in Swift
https://twitter.com/VimRefined
MIT License
6.62k stars 218 forks source link

Version 0.44 performance regression #997

Open jonasjonas opened 1 year ago

jonasjonas commented 1 year ago

There seems to be a very noticeable performance regression from version 0.43 to 0.44, especially noticeable when using a big window (like full size on a 5k monitor).

It is very noticeable even when moving the cursor up or down one or more lines or selecting multiple lines in visual mode or resizing windows with the mouse, which was very smooth before. Going back to 0.43 goes back to the old behaviour.

exlee commented 1 year ago

I'd like to leave "me too".

Lagginess was ever present and I had to roll back. I didn't experience slowdown when selecting lines, however input was super laggy, e.g. trying to type "hello" would be interpreted like "hhhhheeeee" instead.

Happened both on small and big windows sizes in almost most scenarios (I assumed it was coc.nvim initially, but even on filetypes that weren't supported by coc slowness still happened).

Finally, I run profiler and it didn't expose anything out of order. Rolling back to 0.43 fixed everything immediately.

schulace commented 1 year ago

Also having this issue. Can confirm that it's a vimR bug, and not a regression within neovim itself, as iterm2 is very noticeably faster as a renderer than vimR. Like other users, reverting to version 0.43 brought performance back to an acceptable level

bfulop commented 1 year ago

I've found that starting from version 44, disabling the Use Concurrent Rendering option (under settings → Advanced) yields a much better performance in VimR.