Raise global default of read-process-output-max

I was conservative before. I didn't want to change this globally in case
it had a negative performance impact on shy servers that don't talk
much, but this turned out to be too paranoid. Untalkative servers are
barely, if at all, affected, and chatty ones perform better across the
board.
This commit is contained in:
Henrik Lissner 2021-04-18 22:56:52 -04:00
parent a9072e9673
commit a25582f9a8

View file

@ -298,6 +298,10 @@ config.el instead."
;; usage, however! ;; usage, however!
(setq inhibit-compacting-font-caches t) (setq inhibit-compacting-font-caches t)
;; Increase how much is read from processes in a single chunk (default is 4kb).
;; This is further increased by our more expensive LSP module, and where needed.
(setq read-process-output-max (* 64 1024)) ; 64kb
;; Introduced in Emacs HEAD (b2f8c9f), this inhibits fontification while ;; Introduced in Emacs HEAD (b2f8c9f), this inhibits fontification while
;; receiving input, which should help with performance while scrolling. ;; receiving input, which should help with performance while scrolling.
(setq redisplay-skip-fontification-on-input t) (setq redisplay-skip-fontification-on-input t)