pub struct PipelineTimings {Show 24 fields
pub discover_files_ms: f64,
pub file_count: usize,
pub workspaces_ms: f64,
pub workspace_count: usize,
pub plugins_ms: f64,
pub script_analysis_ms: f64,
pub parse_extract_ms: f64,
pub parse_cpu_ms: f64,
pub parse_cache_load_ms: f64,
pub module_count: usize,
pub cache_hits: usize,
pub cache_misses: usize,
pub cache_rejection: Option<CacheRejection>,
pub graph_cache_rejection: Option<CacheRejection>,
pub cache_update_ms: f64,
pub entry_points_ms: f64,
pub entry_point_spans: EntryPointSpans,
pub entry_point_count: usize,
pub resolve_imports_ms: f64,
pub build_graph_ms: f64,
pub analyze_ms: f64,
pub duplication_ms: Option<f64>,
pub total_ms: f64,
pub counters: PipelineCounters,
}Expand description
Pipeline performance timings.
Fields§
§discover_files_ms: f64Time spent discovering files.
file_count: usizeNumber of discovered files.
workspaces_ms: f64Time spent discovering workspaces.
workspace_count: usizeNumber of discovered workspaces.
plugins_ms: f64Time spent running plugin discovery.
script_analysis_ms: f64Time spent analyzing package scripts and CI configuration.
parse_extract_ms: f64Wall-clock time spent parsing and extracting modules.
parse_cpu_ms: f64Summed parser CPU time across workers.
parse_cache_load_ms: f64The part of parse_extract_ms that reads and decodes the persisted
parse cache. Zero with --no-cache.
module_count: usizeNumber of extracted modules.
cache_hits: usizeNumber of files loaded from the parse cache.
cache_misses: usizeNumber of files parsed without a cache hit.
cache_rejection: Option<CacheRejection>Why the persisted parse cache was not reused, when it was not. None
means the cache was loaded; the hit and miss counts then describe how
much of it applied.
graph_cache_rejection: Option<CacheRejection>Why the persisted module-graph cache was not reused, when it was not.
cache_update_ms: f64Time spent updating the parse cache.
entry_points_ms: f64Time spent categorizing entry points.
entry_point_spans: EntryPointSpansSub-phase attribution for entry_points_ms.
entry_point_count: usizeNumber of entry points considered.
resolve_imports_ms: f64Time spent resolving imports.
build_graph_ms: f64Time spent building the module graph.
analyze_ms: f64Time spent running analysis.
duplication_ms: Option<f64>Time spent running duplicate-code analysis, when included.
total_ms: f64Total pipeline time.
counters: PipelineCountersDeterministic work counts for this run.
Trait Implementations§
Source§impl Clone for PipelineTimings
impl Clone for PipelineTimings
Source§fn clone(&self) -> PipelineTimings
fn clone(&self) -> PipelineTimings
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PipelineTimings
impl Debug for PipelineTimings
Source§impl JsonSchema for PipelineTimings
impl JsonSchema for PipelineTimings
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl Serialize for PipelineTimings
impl Serialize for PipelineTimings
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for PipelineTimings
impl RefUnwindSafe for PipelineTimings
impl Send for PipelineTimings
impl Sync for PipelineTimings
impl Unpin for PipelineTimings
impl UnsafeUnpin for PipelineTimings
impl UnwindSafe for PipelineTimings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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> ⓘ
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> ⓘ
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