pub struct BulkLoadConnectionWriteStats {
pub calls: u64,
pub payload_bytes: u64,
pub ready_elapsed: Duration,
pub encode_elapsed: Duration,
pub flush_elapsed: Duration,
pub max_ready_elapsed: Duration,
pub max_encode_elapsed: Duration,
pub max_flush_elapsed: Duration,
pub max_payload_bytes: usize,
}bulk-load-profile only.Expand description
Detailed timing statistics for bulk-load writes through the framed connection sink.
These counters are a diagnostic breakdown under
BulkLoadWriteTimingStats::write_to_wire_elapsed. They are intended to
show whether raw bulk writes are dominated by sink readiness, packet
encoding, or sink flushing while preserving the existing write behavior.
Fields§
§calls: u64Number of bulk-load packets passed into the connection write path.
payload_bytes: u64Payload bytes passed into the connection write path, excluding TDS packet headers.
ready_elapsed: DurationTime spent waiting for the framed sink to accept another packet.
encode_elapsed: DurationTime spent encoding packets into the framed sink buffer.
flush_elapsed: DurationTime spent flushing the framed sink after packet encoding.
max_ready_elapsed: DurationSlowest framed sink readiness wait.
max_encode_elapsed: DurationSlowest packet encode operation.
max_flush_elapsed: DurationSlowest framed sink flush.
max_payload_bytes: usizeLargest payload passed into the connection write path.
Trait Implementations§
Source§impl Clone for BulkLoadConnectionWriteStats
impl Clone for BulkLoadConnectionWriteStats
Source§fn clone(&self) -> BulkLoadConnectionWriteStats
fn clone(&self) -> BulkLoadConnectionWriteStats
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BulkLoadConnectionWriteStats
impl Debug for BulkLoadConnectionWriteStats
Source§impl Default for BulkLoadConnectionWriteStats
impl Default for BulkLoadConnectionWriteStats
Source§fn default() -> BulkLoadConnectionWriteStats
fn default() -> BulkLoadConnectionWriteStats
Source§impl PartialEq for BulkLoadConnectionWriteStats
impl PartialEq for BulkLoadConnectionWriteStats
Source§fn eq(&self, other: &BulkLoadConnectionWriteStats) -> bool
fn eq(&self, other: &BulkLoadConnectionWriteStats) -> bool
self and other values to be equal, and is used by ==.