From a25582f9a8cfdae28dc3f4ed2d6df686a7137df8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 18 Apr 2021 22:56:52 -0400 Subject: [PATCH] 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. --- core/core.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/core.el b/core/core.el index e49d2b7a7..3a4c69405 100644 --- a/core/core.el +++ b/core/core.el @@ -298,6 +298,10 @@ config.el instead." ;; usage, however! (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 ;; receiving input, which should help with performance while scrolling. (setq redisplay-skip-fontification-on-input t)