pub(super) struct ShapeRunResult {
pub(super) compile_ms: u64,
pub(super) fsync_ms: u64,
pub(super) cache_hit: bool,
pub(super) succeeded: bool,
}Expand description
Result of a single run_warmup_shape call.
Per-shape .engine count snapshots are logged inline by
run_warmup_shape; only aggregate stats are propagated up to the worker
(via PrewarmStats).
Fields§
§compile_ms: u64§fsync_ms: u64§cache_hit: booltrue when compile_ms < CACHE_HIT_THRESHOLD_MS (engine loaded from
disk cache) rather than compiled from scratch.
succeeded: boolAuto Trait Implementations§
impl Freeze for ShapeRunResult
impl RefUnwindSafe for ShapeRunResult
impl Send for ShapeRunResult
impl Sync for ShapeRunResult
impl Unpin for ShapeRunResult
impl UnsafeUnpin for ShapeRunResult
impl UnwindSafe for ShapeRunResult
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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