Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Long compaudit after pause, after OS X update to High Sierra



Hello
Recently shell starts for 3-5 seconds when it's started after pause in new shell startups and/or computer use. I knew it's compinit from my zshrc construct, so I've wrapped it with zprof:

num  calls                time                       self            name
-----------------------------------------------------------------------------------
 1)    2        3637,76  1818,88   97,17%   3637,76  1818,88   97,17%  compaudit
 2)    1        3743,49  3743,49  100,00%    105,73   105,73    2,82%  compinit
 3)    1        3743,58  3743,58  100,00%      0,10     0,10    0,00%  zpcompinit

zpcompinit is my compinit starter. So it's compaudit that runs long. My previous zshrc parts (plugins) load normally, fast, zpcompinit is in general ran at the end. If this was some disk spin-up problem, I think it would reveal itself earlier, as many files are opened earlier. Have to admit that this started after OS X update to High Sierra. Had anyone observed this too? Any idea what could it be?

--  
Sebastian Gniazdowski
psprint /at/ zdharma.org



Messages sorted by: Reverse Date, Date, Thread, Author