:profile start profile.log
:profile func *
:profile file *
" At this point do slow actions
:profile pause
:noautocmd qall!
출처 : stackoverflow
이렇게 하면 profile.log 파일이 생성된다.
나의 경우는 copilot 관련 로그가 많아 회사 컴퓨터에서는 브랜치를 새로 파서,
회사에서는 copilot을 disable 시켜서 해결했다.
집가서 로그를 자세히 봐야겠다