Skip to content
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

Improve load times #5

Open
BuriedStPatrick opened this issue Apr 1, 2022 · 1 comment
Open

Improve load times #5

BuriedStPatrick opened this issue Apr 1, 2022 · 1 comment
Labels
performance Performance related optimizations
Milestone

Comments

@BuriedStPatrick
Copy link
Owner

Load times can be a bit heavy, especially if every module is enabled. Some ideas to improve initial load speeds:

  1. Disable all non-essential modules by default. (Everything but Core)
  2. Make it easy to enable/disable modules by calling a script of some sort (maybe with a form of CLI?)
  3. Check inter-module loading efficiency
  4. ???
@BuriedStPatrick BuriedStPatrick changed the title Improve load items Improve load times Apr 1, 2022
@BuriedStPatrick BuriedStPatrick added the performance Performance related optimizations label Apr 1, 2022
@BuriedStPatrick
Copy link
Owner Author

Idea: Reduce calls to Get-Config as much as possible. The entire config is reconstructed for every call. This makes it very dynamic and responsive though, so I'd rather avoid caching it. I don't want to manually reload the config either. Just don't use the Get-Config call multiple times for a single call-stack.

@BuriedStPatrick BuriedStPatrick added this to the v2.0 milestone Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance related optimizations
Projects
None yet
Development

No branches or pull requests

1 participant