perf(cli): gc-cons-percentage = 1.0
This is the new default for this variable in 29 (for batch sessions); I'm backporting it because it's sensible. Ref: https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS#L120-L125
This commit is contained in:
parent
8308d68b61
commit
87b165fdfb
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@
|
||||||
;; The garbage collector isn't so important during CLI ops. A higher threshold
|
;; The garbage collector isn't so important during CLI ops. A higher threshold
|
||||||
;; makes it 15-30% faster, but set it too high and we risk runaway memory usage
|
;; makes it 15-30% faster, but set it too high and we risk runaway memory usage
|
||||||
;; in longer sessions.
|
;; in longer sessions.
|
||||||
(setq gc-cons-threshold 134217728) ; 128mb
|
(setq gc-cons-threshold 134217728 ; 128mb
|
||||||
|
gc-cons-percentage 1.0)
|
||||||
|
|
||||||
;; Ensure errors are sufficiently detailed from this point on.
|
;; Ensure errors are sufficiently detailed from this point on.
|
||||||
(setq debug-on-error t)
|
(setq debug-on-error t)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue