Hallo,
this patch refers to my posting at comp.lang.tcl
'Enhancing tcllib profiler' and
tries to improve the profiler. For a most explicit
discussion of my ideas see
there, here I give a short summary.
- 'canonical' names using 'namespace origin' in
TraceHandler
and some workaround for empty info levels and
tkInit's self deletion (ARRG).
- api extension for tcl 8.4 to add and remove procedure
and commands to
profiling (::profiler::addCmd {name}
::profiler::removeCmd {name})
- start and stop of arranging procs for profiling.
(BTW, I'm still looking for
better names for these procedures).
This are the points which are still open, IMHO (changed
to comp.lang.tcl)
- tracking renames of commands and procedures. Well, my
first try was not very
successful.
- automatic workaround for namespace import difficulties.
- leaving the profiler completely, something like
package forget ...
- have a closer look on recursive function calls
- and maybe some day one could measure the coverage, too.
BTW, the diff I add is against profiler version 0.2.1.
Again, if you are interested I can send the complete
file and some tcltests.
<frank/>
Andreas Kupries
profiler
None
Public
|
Date: 2004-01-07 02:41:30 PST Logged In: YES |
|
Date: 2003-12-09 12:30:13 PST Logged In: YES |
|
Date: 2003-12-07 10:05:21 PST Logged In: YES |
|
Date: 2003-12-04 07:02:09 PST Logged In: YES |
|
Date: 2003-11-23 17:57:46 PST Logged In: YES |
|
Date: 2003-10-31 15:01:42 PST Logged In: YES |
|
Date: 2003-10-29 08:05:38 PST Logged In: YES |
|
Date: 2003-10-28 15:42:23 PST Logged In: YES |
|
Date: 2003-10-27 04:03:16 PST Logged In: YES |
|
Date: 2003-10-24 13:13:37 PDT Logged In: YES |
|
Date: 2003-10-24 11:05:24 PDT Logged In: YES |
| Filename | Description | Download |
|---|---|---|
| profiler.diff | Download | |
| profiler_devel.tar.gz | Download | |
| profiler.ema.txt | Primary Post on c.l.t. | Download |
| profiler2.tar.gz | reworked according to discussion here | Download |
| profiler3.tar.gz | Hemang's improvements | Download |
| profiler4.tar.gz | some fixes for 8.3 part | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 72541: profiler4.tar.gz | 2004-01-07 02:41:30 PST | fstockinger |
| File Added | 70081: profiler3.tar.gz | 2003-12-09 12:30:13 PST | fstockinger |
| File Added | 69548: profiler2.tar.gz | 2003-12-04 07:03:30 PST | fstockinger |
| File Added | 66079: profiler.ema.txt | 2003-10-31 15:01:42 PST | fstockinger |
| File Added | 65538: profiler_devel.tar.gz | 2003-10-27 04:03:16 PST | fstockinger |
| priority | 5 | 2003-10-24 13:13:49 PDT | andreas_kupries |
| assigned_to | nobody | 2003-10-24 11:05:24 PDT | andreas_kupries |
| File Added | 65160: profiler.diff | 2003-10-23 00:01:14 PDT | fstockinger |