pub struct DeleteProfileStats {
pub count: u64,
pub total_ns: u128,
pub pk_lookup_ns: u128,
pub row_clone_ns: u128,
pub wal_ns: u128,
pub index_update_ns: u128,
pub row_remove_ns: u128,
pub cache_ns: u128,
}Expand description
Aggregate statistics for DELETE profiling.
§Environment Variables
DELETE_PROFILE=1- Enable timing collection and print summary on thread exitDELETE_PROFILE_VERBOSE=1- Also print per-delete breakdown to stderr
When DELETE_PROFILE=1 is set, aggregate statistics are automatically printed
when the thread-local stats are dropped (typically at thread exit).
Fields§
§count: u64§total_ns: u128§pk_lookup_ns: u128§row_clone_ns: u128§wal_ns: u128§index_update_ns: u128§row_remove_ns: u128§cache_ns: u128Implementations§
Trait Implementations§
Source§impl Default for DeleteProfileStats
impl Default for DeleteProfileStats
Source§fn default() -> DeleteProfileStats
fn default() -> DeleteProfileStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeleteProfileStats
impl RefUnwindSafe for DeleteProfileStats
impl Send for DeleteProfileStats
impl Sync for DeleteProfileStats
impl Unpin for DeleteProfileStats
impl UnwindSafe for DeleteProfileStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more