olimorris/persisted.nvim

Startup time increased dramatically

abulwafa opened this issue · 3 comments

After the commit 774e4d7

startup time in lazy.nvim increased by 400 msec

That will be the removal of vim.schedule. It was only necessary because I'd messed up the autocmds. Just tested myself actually. Wayyyyyyy faster!

@olimorris unfortunately, using autoload=true still causes the same delay.

Are you sure that's not an issue with the plugin you're using to benchmark? My Neovim loads instantly with autoload = true:

Screen Shot 2023-02-27 at 10 37 36

and with autoload = false:

Screen Shot 2023-02-27 at 10 38 46@2x

Screen Shot 2023-02-27 at 10 39 07@2x