Refactor doom startup benchmark

This commit is contained in:
Henrik Lissner 2018-02-27 22:30:49 -05:00
parent 047ed6c9ea
commit c2fd538261
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 11 additions and 14 deletions

View file

@ -166,8 +166,7 @@ ability to invoke the debugger in debug mode."
(require 'server)
(unless (server-running-p)
(server-start)))
(doom-packages--display-benchmark))
(message "%s" (doom-packages--benchmark)))
;; If you forget to reset this, you'll get stuttering and random freezes!
(setq gc-cons-threshold 16777216
gc-cons-percentage 0.1