zsh-users
 help / color / mirror / code / Atom feed
From: Sebastian Gniazdowski <psprint@zdharma.org>
To: Zsh Users <zsh-users@zsh.org>
Subject: Long compaudit after pause, after OS X update to High Sierra
Date: Tue, 6 Mar 2018 07:30:40 +0100	[thread overview]
Message-ID: <etPan.5a9e3590.cbdedb0.10b3f@zdharma.org> (raw)

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


             reply	other threads:[~2018-03-06  6:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-06  6:30 Sebastian Gniazdowski [this message]
2018-03-06 16:45 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=etPan.5a9e3590.cbdedb0.10b3f@zdharma.org \
    --to=psprint@zdharma.org \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).