Skip to content

* doc/FAQ.org: Document for optimizing Spacemacs startup #16939

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

sunlin7
Copy link
Contributor

@sunlin7 sunlin7 commented Apr 2, 2025

Document for optimizing the Spacemacs by customize the variable load-suffixes and load-file-rep-suffixes.
On my local, Spacemacs/Emacs-30.1 startup time on Windows will be reduced from ~2.2 seconds to ~1.5 seconds.

353 packages loaded in 1.529s (e:266 r:19 l:5 b:63)

@fnussbaum
Copy link
Collaborator

Interesting, thanks! I'm a little bit hesitant to add this to our FAQ though, because I imagine users adding this to their dotfile, forgetting about it, and later installing some package that relies on dynamic modules. So I fear this might result in issues that are difficult to debug.

@bcc32
Copy link
Collaborator

bcc32 commented Apr 13, 2025

I'm inclined to agree with the hesitation. Perhaps at least, we should include a strong warning that certain packages that Spacemacs uses do in fact use dynamic modules (vterm).

(I know that vterm is not enabled for Windows builds, but users may simply read the FAQ and not realize they are in a section that should only apply to Windows. I made the same mistake when reviewing this PR)

@sunlin7 sunlin7 force-pushed the faq-for-speedup-spacemacs branch from 245e452 to 15be89f Compare April 14, 2025 04:12
@sunlin7
Copy link
Contributor Author

sunlin7 commented Apr 14, 2025

@fnussbaum @bcc32
Thanks for your comments, and sorry for late response, totally understand your concerns. And they're narrow so I just add them to FAQ.org to let other Spacemacs users know the options.
I change the example code snippets to give message to users who want try the options to understand the impacts.
Please help review again. Thank you.

@sunlin7 sunlin7 force-pushed the faq-for-speedup-spacemacs branch from 15be89f to 848f6c3 Compare April 14, 2025 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants