mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-20 05:16:45 +00:00
feat(profiling): merge VeryLazy stats and show startuptime in profile view
This commit is contained in:
parent
cea5920abb
commit
0f2786bcc9
3 changed files with 9 additions and 2 deletions
|
@ -21,6 +21,7 @@ M.C = nil
|
|||
|
||||
function M.on_ui_enter()
|
||||
M._stats.startuptime = M.track("UIEnter")
|
||||
require("lazy.core.util").track({ start = "startuptime" }, M._stats.startuptime * 1e6)
|
||||
vim.api.nvim_exec_autocmds("User", { pattern = "LazyVimStarted", modeline = false })
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue