Forum OpenACS Q&A: Response to Best way to time TCL pages.

Collapse
Posted by Don Baccus on
In the [Open]ACS 4 world, acs-developer-support will give you timings on every database operation used to build a given page - it gives a summary at the bottom of the page and a link to a page that gives details.

I don't think that backporting this to the 3.2.5 environment would be all that tough *if* you're also using the backported db api (the db api tracks the actual timing, using Tcl's "clock clicks" command, not the db).

There's a Tcl profiler available by my one quick attempt to get it to work within the AOLserver/OpenACS 4 environment failed.  Has anyone else  gotten this to work?