From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7756 invoked by alias); 6 Mar 2018 06:30:54 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23213 Received: (qmail 8123 invoked by uid 1010); 6 Mar 2018 06:30:54 -0000 X-Qmail-Scanner-Diagnostics: from aok120.rev.netart.pl by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(85.128.245.120):SA:0(-1.9/5.0):. Processed in 8.415754 secs); 06 Mar 2018 06:30:54 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: psprint@zdharma.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Virus-Scanned: by amavisd-new using ClamAV (20) Date: Tue, 6 Mar 2018 07:30:40 +0100 From: Sebastian Gniazdowski To: Zsh Users Message-ID: Subject: Long compaudit after pause, after OS X update to High Sierra X-Mailer: Airmail (467) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello Recently shell starts for 3-5 seconds when it's started after pause in ne= w shell startups and/or computer use. I knew it's compinit from my zshrc = construct, so I've wrapped it with zprof: num =C2=A0calls =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ti= me =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 self =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0name -------------------------------------------------------------------------= ---------- =C2=A01) =C2=A0 =C2=A02 =C2=A0 =C2=A0 =C2=A0 =C2=A03637,76 =C2=A01818,88 = =C2=A0 97,17% =C2=A0 3637,76 =C2=A01818,88 =C2=A0 97,17% =C2=A0compaudit =C2=A02) =C2=A0 =C2=A01 =C2=A0 =C2=A0 =C2=A0 =C2=A03743,49 =C2=A03743,49 = =C2=A0100,00% =C2=A0 =C2=A0105,73 =C2=A0 105,73 =C2=A0 =C2=A02,82% =C2=A0= compinit =C2=A03) =C2=A0 =C2=A01 =C2=A0 =C2=A0 =C2=A0 =C2=A03743,58 =C2=A03743,58 = =C2=A0100,00% =C2=A0 =C2=A0 =C2=A00,10 =C2=A0 =C2=A0 0,10 =C2=A0 =C2=A00,= 00% =C2=A0zpcompinit zpcompinit is my compinit starter. So it's compaudit that runs long. My p= revious zshrc parts (plugins) load normally, fast, zpcompinit is in gener= al ran at the end. If this was some disk spin-up problem, I think it woul= d 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 t= his too=3F Any idea what could it be=3F -- =20 Sebastian Gniazdowski psprint /at/ zdharma.org