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: f64
Timing’s requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime.
proxy_start: f64
Started resolving proxy.
proxy_end: f64
Finished resolving proxy.
dns_start: f64
Started DNS address resolve.
dns_end: f64
Finished DNS address resolve.
connect_start: f64
Started connecting to the remote host.
connect_end: f64
Connected to the remote host.
ssl_start: f64
Started SSL handshake.
ssl_end: f64
Finished SSL handshake.
worker_start: f64
Started running ServiceWorker.
worker_ready: f64
Finished Starting ServiceWorker.
worker_fetch_start: f64
Started fetch event.
worker_respond_with_settled: f64
Settled 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: f64
Started sending request.
send_end: f64
Finished sending request.
push_start: f64
Time the server started pushing request.
push_end: f64
Time the server finished pushing request.
receive_headers_start: f64
Started receiving response headers.
receive_headers_end: f64
Finished 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