Something that might be of use is the tcl-lib profiler
http://www.tcl.tk/community/tcl2004/Tcl2003papers/kupries-doctools/tcllib.doc/profiler/profiler.html

Which gives a little insight into proc calls. Might be of use to you, obviously use with care and don't enable it
on all production requests.

P


Jade Rubick wrote:
John:

We have a page profiler which is called at the beginning and ending of the page being served. The timing is saved to NSV, and every hour is flushed into the database. We are then emailed reports on the worst pages every night, and can pull up nice looking reports that show us the worst offenders, and the history for each page.

We also have an experimental tool we've added as a wrapper around procs which basically keeps track of all the count of how many times procs are called within each request. We keep  the last 1000 requests in memory, so it's easy to see which procs are being called the most often, and make sure these procs are highly optimized. We've found some big performance holes using this.

These tools are not generally useful because they rely a lot on custom code, but I'd be happy to talk about how we implemented them. The general idea is to write out to nsvs. We found this to have a lot less performance impact than we expected.

Jade


--
Jade Rubick
Senior Developer
United eWay Volunteer Solutions
[EMAIL PROTECTED]
tel (503)285-4963
fax (707)671-1333

www.UNITEDeWAY.org

-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.


--
Patrick O'Leary

AOL Syndication Technologies
Phone: + 1 703 265 8763

Honesty is the best policy, but insanity is a better defense !
View Patrick O Leary's LinkedIn profileView Patrick O Leary's profile

-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.

Reply via email to