pub struct DetailedProfileResult<R> {
pub result: R,
pub total_time: Duration,
pub phase_timings: HashMap<String, Duration>,
pub function_timings: HashMap<String, Vec<Duration>>,
pub memory_snapshots: Vec<MemorySnapshot>,
pub recommendations: Vec<OptimizationHint>,
}Expand description
Detailed profile result with breakdown
Fields§
§result: RFunction result
total_time: DurationTotal execution time
phase_timings: HashMap<String, Duration>Phase timings
function_timings: HashMap<String, Vec<Duration>>Function call timings
memory_snapshots: Vec<MemorySnapshot>Memory snapshots
recommendations: Vec<OptimizationHint>Optimization recommendations
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for DetailedProfileResult<R>where
R: Freeze,
impl<R> RefUnwindSafe for DetailedProfileResult<R>where
R: RefUnwindSafe,
impl<R> Send for DetailedProfileResult<R>where
R: Send,
impl<R> Sync for DetailedProfileResult<R>where
R: Sync,
impl<R> Unpin for DetailedProfileResult<R>where
R: Unpin,
impl<R> UnwindSafe for DetailedProfileResult<R>where
R: UnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more