How to properly do profiling? #1185
-
I have been trying to profile my neovim load time with the built-in profiling feature of packer. I run This is my https://gist.github.com/ngocphamm/151a0ab737eb93418b62ff3802de9b5c |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Nope, that's actually accurate - |
Beta Was this translation helpful? Give feedback.
Nope, that's actually accurate -
packer
's profiling is specifically for the cost ofpacker_compiled.lua
, where all ofpacker
's lazy-loading logic is handled. Since you don't have any lazy-loading, and only use a sequenced load (after
and a conditional loadcond
), that plus the little bit of metadata definition, etc. that everyone has is all taht gets reported.