zsh-workers
 help / color / mirror / code / Atom feed
* misalignment in zprof output
@ 2001-03-19 22:25 Adam Spiers
  0 siblings, 0 replies; only message in thread
From: Adam Spiers @ 2001-03-19 22:25 UTC (permalink / raw)
  To: zsh workers mailing list

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?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-19 22:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-19 22:25 misalignment in zprof output Adam Spiers

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).