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

Speed up session loader #4446

Open
soulomoon opened this issue Nov 9, 2024 · 0 comments
Open

Speed up session loader #4446

soulomoon opened this issue Nov 9, 2024 · 0 comments
Labels
performance Issues about memory consumption, responsiveness, etc. type: enhancement New feature or request

Comments

@soulomoon
Copy link
Collaborator

soulomoon commented Nov 9, 2024

Session loader is responsible for generating ghc options to load modules. Due to the limitation of hie-bios, we are loading module one by one. The session loader is overly sequentialized.

Problems:

  1. Not loading in batch with multi homeunit support. Initial load of multiple home units is slow with lazy component loading #4381
  2. Loading of a module's options is blocked by the loading in the front of the line even if the module's options in the cache.

Solutions:

  1. Batch load. SessionLoader: batch load #4439
  2. Decouple the session loader into reader and writer over the cache. Decouple the session loader into reader and writer over the cache #4445
@soulomoon soulomoon added type: enhancement New feature or request status: needs triage performance Issues about memory consumption, responsiveness, etc. and removed status: needs triage labels Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Issues about memory consumption, responsiveness, etc. type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant