pub struct HotPath {
pub id: String,
pub file: String,
pub function: String,
pub line: u32,
pub invocations: u64,
pub percentile: u8,
}Expand description
A function the sidecar identified as a hot path in the current dump.
Fields§
§id: StringDeterministic content hash of shape fallow:hot:<hash>. See
hot_path_id for the canonical helper.
file: StringPath to the source file, relative to Request::project_root.
function: StringFunction name as reported by the static analyzer.
line: u321-indexed line the function starts on.
invocations: u64Raw invocation count from the V8 dump.
percentile: u8Percentile rank of this function’s invocation count over the
invocation distribution of the current response’s hot paths. 100
means the busiest function, 0 the quietest that still qualified.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HotPath
impl<'de> Deserialize<'de> for HotPath
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 HotPath
impl RefUnwindSafe for HotPath
impl Send for HotPath
impl Sync for HotPath
impl Unpin for HotPath
impl UnsafeUnpin for HotPath
impl UnwindSafe for HotPath
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