Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
misalignment in zprof output
- X-seq: zsh-workers 13671
- From: Adam Spiers <adam@xxxxxxxxxx>
- To: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: misalignment in zprof output
- Date: Mon, 19 Mar 2001 22:25:21 +0000
- Mail-followup-to: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author