pub struct ResourceTiming {Show 21 fields
pub request_time: f64,
pub proxy_start: f64,
pub proxy_end: f64,
pub dns_start: f64,
pub dns_end: f64,
pub connect_start: f64,
pub connect_end: f64,
pub ssl_start: f64,
pub ssl_end: f64,
pub worker_start: f64,
pub worker_ready: f64,
pub worker_fetch_start: f64,
pub worker_respond_with_settled: f64,
pub worker_router_evaluation_start: Option<f64>,
pub worker_cache_lookup_start: Option<f64>,
pub send_start: f64,
pub send_end: f64,
pub push_start: f64,
pub push_end: f64,
pub receive_headers_start: f64,
pub receive_headers_end: f64,
}Expand description
Timing information for the request.
Fields§
§request_time: f64Timing’s requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime.
proxy_start: f64Started resolving proxy.
proxy_end: f64Finished resolving proxy.
dns_start: f64Started DNS address resolve.
dns_end: f64Finished DNS address resolve.
connect_start: f64Started connecting to the remote host.
connect_end: f64Connected to the remote host.
ssl_start: f64Started SSL handshake.
ssl_end: f64Finished SSL handshake.
worker_start: f64Started running ServiceWorker.
Experimental: may change without notice.
worker_ready: f64Finished Starting ServiceWorker.
Experimental: may change without notice.
worker_fetch_start: f64Started fetch event.
Experimental: may change without notice.
worker_respond_with_settled: f64Settled fetch event respondWith promise.
Experimental: may change without notice.
worker_router_evaluation_start: Option<f64>Started ServiceWorker static routing source evaluation.
Experimental: may change without notice.
worker_cache_lookup_start: Option<f64>Started cache lookup when the source was evaluated to cache.
Experimental: may change without notice.
send_start: f64Started sending request.
send_end: f64Finished sending request.
push_start: f64Time the server started pushing request.
Experimental: may change without notice.
push_end: f64Time the server finished pushing request.
Experimental: may change without notice.
receive_headers_start: f64Started receiving response headers.
Experimental: may change without notice.
receive_headers_end: f64Finished receiving response headers.