Skip to content

Commit

Permalink
Revert GC threshold after startup
Browse files Browse the repository at this point in the history
  • Loading branch information
ashton314 committed Sep 6, 2024
1 parent f17a4b4 commit d5fdfcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions early-init.el
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; Startup speed, annoyance suppression
(setq bedrock--initial-gc-threshold gc-cons-threshold)
(setq gc-cons-threshold 10000000)
(setq byte-compile-warnings '(not obsolete))
(setq warning-suppress-log-types '((comp) (bytecomp)))
Expand Down
2 changes: 2 additions & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -252,3 +252,5 @@ If the new path's directories does not exist, create them."
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)

(setq gc-cons-threshold (or bedrock--initial-gc-threshold 800000))

0 comments on commit d5fdfcc

Please sign in to comment.