Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: profile prompt rendering time
- X-seq: zsh-users 21775
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: profile prompt rendering time
- Date: Wed, 13 Jul 2016 22:25:01 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=mCEJubXvvD2iVXWAtwmAnz2LFnK+2+AXL+UZizu+7Vg=; b=FGdYAmqa64OImbS73XSHPnVadZH9giWZL7mQmy/5rXadlzYkiJOa/LGd99ivFLOpQJ l4zgwXLXT4ZKNFM7jiAUAIqWakXMH9kkAAG6+W/dZ4tjEhGO0gxSJ+6ZQaJLyQGUXkDT /qhbRT7fvgWpcuEo+g9IB99d6WxpQVYDGM/6NlqcCa29RRYZWXKvY3j+nUAdCPBP6ZI0 f+rOO3CMYt5om32vkiRwjJRUVMXc3FzgYG4wvgDWMErmk9BurWLiQu8e5SPkgXcYPycQ ZS3yecB2Cnb/3cgMK7AsSrmrxT/HT2A7fEiajTM3NEDwFx6SV5XQbvZ8XCL7ENyKmHmP YOWA==
- In-reply-to: <CAEwkUWO6L4VVW=GPQOftkYL6yUDosi6DaCXuEE7hPW-qspNTCA@mail.gmail.com>
- 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
- References: <CAEwkUWO7yrxptZChw7Q3F=u=0+Uwf+Frmzo24py3xvrK1=cTtA@mail.gmail.com> <20160713213713.GB75349@xenia> <160713164905.ZM22329@torch.brasslantern.com> <CAEwkUWO6L4VVW=GPQOftkYL6yUDosi6DaCXuEE7hPW-qspNTCA@mail.gmail.com>
On Jul 13, 9:23pm, Filipe Silva wrote:
}
} Awesome! Is there a way to do that but with the delta?
The "time" command will only output elapsed time, so it is the delta.
However, as Nikolay points out, the plugin is probably spending some
time in the precmd function itself, not loading all the work into the
value of $PS1. So just timing the printing of the prompt may not
tell you very much.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author