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

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

Emacs startup suddenly slower


From: Sivaram Neelakantan
Subject: Emacs startup suddenly slower
Date: Wed, 13 Sep 2017 22:56:51 +0530
User-agent: Gnus/5.130015 (Ma Gnus v0.15) Emacs/25.1 (windows-nt)

 I was tinkering with my .Emacs file and I don't know what happened
 but my Emacs startup has shot up to 83 secs compared to 4 to 7 secs
 earlier as checked by M-x Emacs-init-time.  This was done multiple
 times and time ranged from 45 to 85 secs

I installed benchmark that I got from github
https://github.com/dholm/benchmark-init-el and it gave the following 

 Module                                | Type   | ms [^] |total ms 
  ucs-normalize                         require    3219    3219
  auto-complete                         require    2188    3282
  default                               load       1610    1610
  c:/gnu/initfiles/.ido_config.el       load       1469    9907
  pcache                                require    1406    3579
  c:/gnu/initfiles/.cygwin_config.el    load       1391    3688
  flycheck                              require    1375    5794
  ...
  ess-site                              load        266   15767

The above is an elided list of big time spenders.  I was tinkering
with .Emacs and this is how I load them

(setq user-emacs-directory "c:/gnu/initfiles/.emacs.d/")
(require 'package)
(setq package-enable-at-startup nil)
(package-initialize)
(load-file "c:/gnu/initfiles/.emacs_new") ;; this calls the package
                                          ;; config files below

(load-file "c:/gnu/initfiles/.text_config.el")
(load-file "c:/gnu/initfiles/.ido_config.el")
(load-file "c:/gnu/initfiles/.ac_config.el")
(load-file "c:/gnu/initfiles/.r_ess_config.el")
(load-file "c:/gnu/initfiles/.cygwin_config.el")
(load-file "c:/gnu/initfiles/.uniq_config.el")
(load-file "c:/gnu/initfiles/.smex_config.el")

Not sure why this slowness that is affecting all buffers now as I can
see a noticable lag when typing or opening a dired file or buffer

sivaram
-- 





reply via email to

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