TASResourceReadyLatencyEvent Class
TASResourceReadyLatencyEvent Class
Raised by: TAS
Base Class: ResourceReadyLatencyEvent
Derived Classes: None
TASResourceReadyLatencyEvent is raised to the Trace log after a resource has been downloaded and prepared for Telephony Application Services (TAS) to use. The event records the total required to download and prepare the resource, starting with the download request from TAS.
Note This latency event includes useful information for tuning SALT applications, including script compilation and download latencies, as well as latencies for creating Simple Messaging Exchange (smex) objects and the Document Object Model (DOM).
TASResourceReadyLatencyEvent has the following properties:
Property |
Type |
Description |
---|---|---|
Latency |
Long |
The number of milliseconds that elapsed during the latency event. |
StatusCode |
Integer |
The HTTP status code (for example, 401) returned from request. |
StatusDescription |
String |
The HTTP description for StatusCode (for example, "Unauthorized"). |
ResponseUri |
String |
The URI included in the response. |
ContentLength |
Long |
The length of the content returned by the request. |
ContentType |
String |
The content type of the response (typically a MIME type). |
ContentEncoding |
String |
The method used to encode the body of the response. |
LastModified |
DateTime |
The last date and time that the contents of the response were modified. |
ProtocolVersion |
String |
The version of HTTP protocol used in the response. |
Method |
String |
The HTTP method used to return the response (for example, GET or POST). |
Server |
String |
The name of the server that sent the response. |
ResponseHeaders |
String |
The headers returned with the response. |
RequestUri |
String |
The URI of the Internet resource that responded to the request. |
Accept |
String |
The MIME types specified in the request as acceptable. |
FreshnessLifetime |
Double |
The number of seconds this item is considered fresh (before requiring a refresh). |
HttpResponseLatency |
Long |
The number of milliseconds elapsed between issuing the HTTP GET and receiving the first byte of the body of the response. |
ResourceBodyLatency |
Long |
The number of milliseconds elapsed between receiving the first and last bytes of the body of a response to the HTTP GET request. |
ResourcePreparedLatency |
Long |
The number of milliseconds elapsed between TAS receiving a response to the HTTP GET request, and the resource being ready for use. |
ResourceBodyLatency |
Long |
The number of milliseconds elapsed between receiving the first and last bytes of the body of a response to the HTTP GET request. |
DOMCreationLatency |
Long |
The number of milliseconds elapsed between receiving the first byte of the response, and the DOM being fully created. |
ScriptCompilationLatency |
Long |
The total number of milliseconds elapsed while compiling any scripts associated with the resource. |
ScriptDownloadLatency |
Long |
The total number of milliseconds elapsed while downloading any scripts associated with the resource. |
SmexObjectCreationLatency |
Long |
The number of milliseconds elapsed between receiving the first byte of the response, and any smex objects being created. |
Remarks
The resource is ready after all scripts on the page have been compiled and downloaded, and TAS is ready call HTTP OnLoad.
See Also
Event Logging Class Hierarchy | Logging and Analyzing Events | CommonEvent | Event Filters | Filtering Logged Events