help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Reduce Emacs Load Time


From: formido
Subject: Re: How to Reduce Emacs Load Time
Date: Sun, 31 Aug 2008 10:42:39 -0700 (PDT)
User-agent: G2/1.0

On Aug 31, 4:39 am, David <de...@arcor.de> wrote:
> First, you should identify what parts of your .emacs take so long. You
> can do this e.g. by starting emacs with "emacs -q", set up your
> load-path, and then evaluate
>
> (benchmark-run
>   (require 'package))

Thanks very much for that. In this case, by inspection I can tell
CEDET is a major culprit.

> Essentially, yes. But maybe you "require" too much. My emacs startup
> time is ~1sec, although I include large third party packages like CEDET
> and Gnus. For example, for setting up Gnus, you should only require
> 'gnus-load in your .emacs, which contains the proper autoloads. This
> takes about 0.03 seconds on my machine.

Mind telling me how you load CEDET? I just used instruction they gave--
you can see above what my *messages* looks like at init.

> -David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]