zsh-workers
 help / color / mirror / code / Atom feed
From: Adam Spiers <adam@spiers.net>
To: zsh workers mailing list <zsh-workers@sunsite.auc.dk>
Subject: misalignment in zprof output
Date: Mon, 19 Mar 2001 22:25:21 +0000	[thread overview]
Message-ID: <20010319222521.A22571@thelonious.new.ox.ac.uk> (raw)

Just started to fiddle with zprof with the intent of spotting any
bottlenecks in my zsh startup (initial experiments show promptinit as
being quite bad), and spotted some "%5.2f%%" fields in printf() calls,
some of which should evidently be "%6.2f%%" as it's possible for some
of the fields to reach 100.00%, e.g. (apologies for long lines)

num  calls                time                       self            name
-----------------------------------------------------------------------------------
 1)    1         679.84   679.84  36.98%    679.84   679.84  36.98%  compdump
 2)  189         647.31     3.42  35.21%    647.31     3.42  35.21%  compdef
 3)    1        1838.18  1838.18  100.00%    355.17   355.17  19.32%  compinit
 4)    2         155.87    77.93   8.48%    155.87    77.93   8.48%  compaudit

-----------------------------------------------------------------------------------

 3)    1        1838.18  1838.18  100.00%    355.17   355.17  19.32%  compinit
       1/2       155.87   155.87   8.48%      6.09     6.09             compaudit [4]
     189/189     647.31     3.42  35.21%    647.31     3.42             compdef [2]
       1/1       679.84   679.84  36.98%    679.84   679.84             compdump [1]


I don't know off-hand which fields can reach 100% and which can't;
could someone more knowledgeable give these a tweak?


                 reply	other threads:[~2001-03-19 22:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20010319222521.A22571@thelonious.new.ox.ac.uk \
    --to=adam@spiers.net \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).