pub struct SavedTimeStats {
pub total_remote_duration_ms: u64,
pub estimated_local_duration_ms: u64,
pub time_saved_ms: u64,
pub builds_counted: usize,
pub avg_speedup: f64,
pub today_saved_ms: u64,
pub week_saved_ms: u64,
}Expand description
Saved time statistics from remote builds.
Tracks estimated time savings from offloading builds to remote workers. Uses local build history to estimate what remote builds would have taken locally.
Fields§
§total_remote_duration_ms: u64Total time spent on remote builds (milliseconds).
estimated_local_duration_ms: u64Estimated total time if those builds ran locally (milliseconds).
time_saved_ms: u64Time saved by offloading (milliseconds). Computed as max(0, estimated_local - remote).
builds_counted: usizeNumber of remote builds included in calculation.
avg_speedup: f64Average speedup factor (local_estimate / remote_duration). A value of 2.0 means remote builds are ~2x faster than local.
today_saved_ms: u64Total time saved today (milliseconds).
week_saved_ms: u64Total time saved this week (milliseconds).
Trait Implementations§
Source§impl Clone for SavedTimeStats
impl Clone for SavedTimeStats
Source§fn clone(&self) -> SavedTimeStats
fn clone(&self) -> SavedTimeStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SavedTimeStats
impl Debug for SavedTimeStats
Source§impl Default for SavedTimeStats
impl Default for SavedTimeStats
Source§fn default() -> SavedTimeStats
fn default() -> SavedTimeStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SavedTimeStats
impl<'de> Deserialize<'de> for SavedTimeStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SavedTimeStats
impl RefUnwindSafe for SavedTimeStats
impl Send for SavedTimeStats
impl Sync for SavedTimeStats
impl Unpin for SavedTimeStats
impl UnsafeUnpin for SavedTimeStats
impl UnwindSafe for SavedTimeStats
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