lapce / lapce/lapce

Very long start up time

Open
#632 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-ui C-perf
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.