unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Increase gc-cons-threshold during package-init?
@ 2018-02-19 17:23 T.V Raman
  2018-02-19 17:27 ` Daniel Colascione
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: T.V Raman @ 2018-02-19 17:23 UTC (permalink / raw)
  To: emacs-devel

With Emacs now calling package-initialize on its own, I noticed (after
removing package-initialize from my emacs init file)
that emacs startup was now  entailing 3 times as many gc calls during
startup as before. One guess is that my init file was lexically
binding gc-cons-threshold to 64MB --- the default gc-cons-threshold
of 800K is likely from the past and could be increased. 

Even if we leave the default as is, it might make sense to temporarily
increase gc-cons-threshold within package-initialize 

-- 

-- 



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-02-20 17:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-19 17:23 Increase gc-cons-threshold during package-init? T.V Raman
2018-02-19 17:27 ` Daniel Colascione
2018-02-19 18:35   ` Eli Zaretskii
2018-02-19 21:15 ` Stefan Monnier
2018-02-20  0:49   ` T.V Raman
2018-02-20 17:27 ` Radon Rosborough

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).