Replies: 1 comment 1 reply
|
I disagree. First, cache priming is actually faster than not doing it because of parallelism. Second, the progress bar is important. Third, IMO the solution to startup speed is on-disk cache, not disabling cache priming. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
We added cache priming mostly for the convenience of Vim users, but those don't tend to have the best experience without
ra-multiplexanyway, and I suspect some Vim users expect their editor to start instantly and without too much fuss.Without cache priming (and a couple of open files), on
self, r-a starts in 8.3 s CPU time and uses 1627 MB RSS. With cache priming, it takes 14.8s and 2225 MB RSS. That's an almost 600 MB difference, on a relatively small repo, but some users will open more of them, and maybe not use them enough to reach a similar memory usage.In addition, cache priming is:
Even if it helps with the total latency overall (especially for Go to Definition etc. without inlay hints) , I still feel that being lighter on start-up is more important.
EDIT: maybe we should ask users to give it a try an chime in?
All reactions