Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
profile prompt rendering time
- X-seq: zsh-users 21761
- From: Filipe Silva <filipe.silva@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: profile prompt rendering time
- Date: Wed, 13 Jul 2016 11:17:23 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=9ZaxZ5Ak5RnGwouJpZm4r92RuohxIN0u6IzTBheEpnQ=; b=DDlJlTzkwXds6KF/3ZbvmYd3lZIpSZgskvCWok4Ra5Ap0XaCbiogF6LziSdzvPY3VJ sEobjBoFgAWtHO12h8CutAWHvFFFBZEkvunzo19diWrqFAgcQK25nuCkHfyGwGMZ96Rt dG2wolZkYPKBnvhdeSuO3ICyl0Sfucz4azyVcW5sItUQP/RUAm+0KnboF6O+DtlfEVko rSiPKxZxaoOCuA51d4yhsiZyv/5b/4YqgeNWgbW0pKaLV9Orq2FJBAiFPEte/v3yDPSy ai+2ccgcfUmVUellfoGvWmgu+OFXkELOHjrlN/I9MiB7/POVX3SASnEcvBPrv16AuH3P eUlw==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi,
short version: How can I profile each rendering of a zsh prompt?
long version: I've recently came across a plugin (rupa/z) that, when
installed, hit my zsh prompt rendering time by a noticeable amount.
When I say prompt rendering time, I'm not refering to amount of time that
it takes for the first zsh prompt to appear when I issue, for an example,
`exec zsh` (that is achieve by issuing `time zsh -i -c "print -n"`).
I'm talking about the time that it takes for zsh to give me another prompt
once that it is fully loaded. In other words, I want to achieve this:
~ $ ls (when i hit enter, start counting)
code/ notes/ file.txt
~ $ (stop counting when this prompt appears. show me elapsed time)
Is that a way to do that?
thanks in advance,
Filipe Silva
Messages sorted by:
Reverse Date,
Date,
Thread,
Author