From: Christopher Nelson <chris@pinebush.com>
Subject: ANNOUNCE:prox - TclX profile analysis tools
Date: Fri, 08 Jan 1999 11:56:54 -0500
I've just uploaded to www.neosoft.com a script which aids off-line
analysis of TclX profile data. It's a naive Tcl (text-oriented) script
which eats the array from TclX's [profile off] and allows interactive
exploration of the profile data.
For example, if during the execution of your application, you call tree
looked like:
1
A
i
ii
...
B
ii
iii
C
ii
iv
(where your procs have the unusual names "1", "A", "i", "B", "iii",
etc.)
prox displays the top level like:
Call stack: 1
Total time: 771 ms
0 500ms (64.85%) A
1 146ms (18.94%) B
2 66ms (08.56%) C
3 59ms (07.65%) .
0-3, q, u, ? [0]:
You can then drill down to get detail of the procs called by 1.
Pressing <Return> goes to the most time-consuming child. In this case:
Call stack: A 1
Total time: 500 ms
0 70ms (14.00%) i
1 60ms (12.00%) viii
2 50ms (10.00%) vi
3 50ms (10.00%) vii
4 50ms (10.00%) v
5 50ms (10.00%) ix
6 50ms (10.00%) ii
7 40ms (08.00%) x
8 30ms (06.00%) .
9 30ms (06.00%) xi
...others...
0-9, q, u, ? [0]:
Hope this helps you as much as it's helped me!
Chris
--
Rens-se-LEER is a county. RENS-se-ler is a city. R-P-I is a school!