Closed treymerkley closed 6 years ago
Can you enable use-package-verbose
, and then show me the load-time from that?
Sure. I installed a few new packages, so I'll put in the code with and without the packages that take a while.
With:
Loading package dashboard...
Configuring package dashboard...done
Loading package dashboard...done (0.752s)
Loading package diminish...
Configuring package diminish...done
Loading package diminish...done
[yas] Prepared just-in-time loading of snippets successfully.
Loading package ess...done (20.351s)
Loading package autopair...
Configuring package autopair...done
Loading package autopair...done
Loading /home/trey/.emacs.d/recentf...done
Cleaning up the recentf list...done (0 removed)
For information about GNU Emacs and the GNU system, type C-h C-a.
Without:
Loading package spaceline-config...done (3.015s)
Loading package dashboard...
Configuring package dashboard...done
Loading package dashboard...done (0.754s)
Loading package diminish...
Configuring package diminish...done
Loading package diminish...done
[yas] Prepared just-in-time loading of snippets successfully.
Loading package autopair...
Configuring package autopair...done
Loading package autopair...done
Loading /home/trey/.emacs.d/recentf...done
Cleaning up the recentf list...done (0 removed)
For information about GNU Emacs and the GNU system, type C-h C-a.
Additionally, the big new one that's causing problems I decided to defer with :defer t
on it.
Loading package ess...done (20.351s)
Is your Emacs version 24.5? Maybe this is the DNS hang triggered by (indirectly) loading tramp (see Emacs Bug#20015).
@treymerkley Do you still think the problem lies with use-package?
@jwiegley I don't think so, I think one of my other packages that I enabled at around the same time was making a lot of unnecessary system calls. I replaced the worst offenders and am going to compile from the latest release on GNU's website. It isn't perfect, but it's good enough for me. Thanks!
If you notice anything I can help with, please, do come back.
I started using use-package because spaceline is a pain to work with without it. However, enabling it at least doubled my load time for Emacs, to around ~7 seconds, and the response time is slower than before. I think it has something to do with the Debian base system.
Here's my .init:
Here's the message area after launch: