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. ResourceTiming
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.
worker_ready: f64Finished Starting ServiceWorker.
worker_fetch_start: f64Started fetch event.
worker_respond_with_settled: f64Settled fetch event respondWith promise.
worker_router_evaluation_start: Option<f64>Started ServiceWorker static routing source evaluation.
worker_cache_lookup_start: Option<f64>Started cache lookup when the source was evaluated to cache.
send_start: f64Started sending request.
send_end: f64Finished sending request.
push_start: f64Time the server started pushing request.
push_end: f64Time the server finished pushing request.
receive_headers_start: f64Started receiving response headers.
receive_headers_end: f64Finished receiving response headers.
Implementations§
Source§impl ResourceTiming
impl ResourceTiming
pub fn builder() -> ResourceTimingBuilder
Source§impl ResourceTiming
impl ResourceTiming
pub const IDENTIFIER: &'static str = "Network.ResourceTiming"
Trait Implementations§
Source§impl Clone for ResourceTiming
impl Clone for ResourceTiming
Source§fn clone(&self) -> ResourceTiming
fn clone(&self) -> ResourceTiming
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more