I was suffering from [BUG] Slow scrolling/cursor movement on macOS with large window · Issue #2217 · doomemacs/doomemacs · GitHub and I gave up after trying everything in Why is Emacs/Doom slow?. It wasn’t like usual Emacs slowness around LSP related things, and other movements were snappy.
Then I stumbled upon some settings.