olimorris / persisted.nvim

💾 Simple session management for Neovim with git branching, autoloading and Telescope support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Startup time increased dramatically

abulwafa opened this issue · comments

After the commit 774e4d7

startup time in lazy.nvim increased by 400 msec

commented

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.

commented

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