pub(crate) struct TraceOverheadReport {
pub(crate) benchmark: &'static str,
pub(crate) backend: Backend,
pub(crate) untraced_wall_ns: u64,
pub(crate) traced_wall_ns: u64,
pub(crate) overhead_ratio: f64,
}Expand description
Compares one benchmark run untraced against the same run under a real
JsonlSink writing nowhere: the difference is tracing’s own cost, not
the cost of whatever the sink’s destination happens to be.
Fields§
§benchmark: &'static str§backend: Backend§untraced_wall_ns: u64§traced_wall_ns: u64§overhead_ratio: f64Implementations§
Auto Trait Implementations§
impl Freeze for TraceOverheadReport
impl RefUnwindSafe for TraceOverheadReport
impl Send for TraceOverheadReport
impl Sync for TraceOverheadReport
impl Unpin for TraceOverheadReport
impl UnsafeUnpin for TraceOverheadReport
impl UnwindSafe for TraceOverheadReport
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