Very long start up time
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 38.9k
- Forks
- 1.3k
- Avg merge
- 19m
- Merged PRs (30d)
- 1
Description
I have noticed that the editor takes a very long time to open the window, when the project folder to be opened is large (like the lapce folder). It took up to 15 seconds to open the main window. My main suspect for this is the fact that when waiting for it to start up, rust_analyzer is consuming a lot of resources so it is probably blocking lapce from continuing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the slow startup by opening a large project such as the lapce folder, while observing rust_analyzer resource usage. Trace what blocks the editor before the main window opens; done means startup is measurably faster for large projects without breaking project loading.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop, devtools, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100