You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2023. It is now read-only.
Now, let me prefix this by saying, that I might have misunderstood the aim of this project, or misconfigured something. What I'm seeing is the following:
When I take a look at LuaCacheProfile after consecutive startups after LuaCacheClear, This is the first startup after clearing:
and this is after the cache has been built (after second startup):
Resolve Load
3.816ms │ │ 4.391ms │ │ Total │
...
So there definitely seems to be a difference between cached and uncached startup. However, I didn't notice any difference in the startuptime, so I installed dstein64/vim-startuptime and took a look at StartupTime in between cached and uncached startups. The result: I'm averaging around 160mS and it doesn't seem to matter if I have a built cache or not.
Looking at #31, I might lack some information on how to actually set this up or how the plugin works together with packer. Can you help me out here? Or is this simply not how it works?
The text was updated successfully, but these errors were encountered:
so I installed dstein64/vim-startuptime and took a look at StartupTime in between cached and uncached startups.
How did you do this? Note that https://github.com/dstein64/vim-startuptime runs another Neovim instance inside the one you are running, so it could also be that you're not able to get any non-cached results through it.
Looking at #31, I might lack some information on how to actually set this up or how the plugin works together with packer. Can you help me out here? Or is this simply not how it works?
That issue is stale now. Since neovim/neovim#17200 was merged, packer_compile.lua can now be automatically cached... if you're running Neovim master. If you're on 0.6.1 then it won't be.
Just ran it myself and saw a significant decrease in startuptime:
Looks like most of my time decrease is coming from packer_compiled.lua which runs the majority of require's in my config. I don't think the decrease is due to packer_compiled being cached itself.
You're right! I misinterpreted the output of vim-startuptime. I thought it would reuse the current session. Thanks for looking into it! I Uninstalled impatient and took a look at StartupTime again. The jump wasn't as significant for me (190mS to 160mS), but still, it proves, that it actually has an effect on my startup time.
Thanks for the support and thanks for packaging this up!
Now, let me prefix this by saying, that I might have misunderstood the aim of this project, or misconfigured something. What I'm seeing is the following:
When I take a look at
LuaCacheProfile
after consecutive startups afterLuaCacheClear
, This is the first startup after clearing:and this is after the cache has been built (after second startup):
So there definitely seems to be a difference between cached and uncached startup. However, I didn't notice any difference in the startuptime, so I installed dstein64/vim-startuptime and took a look at
StartupTime
in between cached and uncached startups. The result: I'm averaging around 160mS and it doesn't seem to matter if I have a built cache or not.I've installed impatient via packer. I set up impatient before any other code is run.
Looking at #31, I might lack some information on how to actually set this up or how the plugin works together with packer. Can you help me out here? Or is this simply not how it works?
The text was updated successfully, but these errors were encountered: