pub enum InsightKind {
Slower {
branch: Option<String>,
before: u64,
now: u64,
since: Option<RunLink>,
},
Flaky {
flaky: u32,
total: u32,
},
NearCap {
profile: String,
peak: u64,
cap: u64,
auto: AutoNote,
},
ColdCache {
branch: Option<String>,
hits: u64,
lookups: u64,
},
Waits {
before: u64,
now: u64,
},
}Expand description
What an insight is, tagged by kind.
Variants§
Slower
A job’s successful runs on its busiest branch take longer than they did, and stayed so.
Fields
Flaky
A job failed and then passed on a re-run of the same run.
NearCap
A job’s memory peaks near its profile’s cap.
Fields
ColdCache
A job’s runs that write to the build cache find almost nothing in it: its cache keys differ from run to run.
Fields
Waits
A repository’s jobs wait longer this week than the week before.
Trait Implementations§
Source§impl Clone for InsightKind
impl Clone for InsightKind
Source§impl Debug for InsightKind
impl Debug for InsightKind
Source§impl<'de> Deserialize<'de> for InsightKind
impl<'de> Deserialize<'de> for InsightKind
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
impl Eq for InsightKind
Source§impl PartialEq for InsightKind
impl PartialEq for InsightKind
Source§impl Serialize for InsightKind
impl Serialize for InsightKind
impl StructuralPartialEq for InsightKind
Auto Trait Implementations§
impl Freeze for InsightKind
impl RefUnwindSafe for InsightKind
impl Send for InsightKind
impl Sync for InsightKind
impl Unpin for InsightKind
impl UnsafeUnpin for InsightKind
impl UnwindSafe for InsightKind
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.