Andrew Shadoura has been having some problems with unexplained pauses in
processing.
While this might be due to DNS or rDNS, it still could be useful to have
some fine-grained timing information.
I've added some support for uS-grain timestamping of various phases of
request processing. It can be turned on/off with Debug on stamp 1 /
Debug off stamp 0 in your local.tcl - this will also produce stderr
output detailing the processing time of each request.
I've also added a new Domain called 'Server' which will accumulate this
data, and present it as HTML or CSV for analysis.
To quote the Domains/Server/Server.tcl source:
# add the following to site.config to install this:
# /server {
# domain Server
# url /server
# }
Furthermore, there's a new Http command to add a timestamp to the
request dict, so it can be accumulated and displayed as above: set r
[Http timestamp $r tag] ... where 'tag' is whatever tag you want to
associate with the timestamp. This way, if you want more detail about
the processing within a domain, it can be easily added (should help zero
in on performance bottlenecks.)
This is all in SVN now, and seems to work ok.
Colin.