pub struct ProcessingStats {Show 17 fields
pub total_meshes: usize,
pub total_vertices: usize,
pub total_triangles: usize,
pub parse_time_ms: u64,
pub entity_scan_time_ms: u64,
pub lookup_time_ms: u64,
pub preprocess_time_ms: u64,
pub geometry_time_ms: u64,
pub total_time_ms: u64,
pub from_cache: bool,
pub total_csg_failures: u64,
pub products_with_failures: u64,
pub degenerate_triangles_dropped: u64,
pub point_cache_hits: u64,
pub point_cache_misses: u64,
pub faceted_brep_time_ms: u64,
pub geometry_diagnostics: Option<GeometryDiagnostics>,
}Expand description
Processing statistics.
Fields§
§total_meshes: usizeTotal number of meshes generated.
total_vertices: usizeTotal number of vertices.
total_triangles: usizeTotal number of triangles.
parse_time_ms: u64Time spent parsing entities (ms).
entity_scan_time_ms: u64Time spent scanning entities and building initial job lists (ms).
lookup_time_ms: u64Time spent resolving lookups, styles, and optional metadata (ms).
preprocess_time_ms: u64Time spent in geometry preprocessing before the extraction loop begins (ms).
geometry_time_ms: u64Time spent processing geometry (ms).
total_time_ms: u64Total processing time (ms).
from_cache: boolWhether result was from cache.
total_csg_failures: u64Total CSG boolean failures recorded during geometry extraction
(mirrors the browser console diagnostics — see BoolFailureReason).
products_with_failures: u64Number of distinct products with at least one CSG failure.
degenerate_triangles_dropped: u64Triangles removed by the f32-collapse degenerate-triangle backstop
across the whole pass (see element::build_mesh_data). Non-zero means
the backstop engaged for this model.
point_cache_hits: u64CartesianPoints served from the per-worker point cache while meshing
faceted breps (EntityDecoder::get_polyloop_coords_cached). Non-zero
means the cross-element cache hoist memoized a shared point list rather
than re-parsing it per part.
point_cache_misses: u64CartesianPoints parsed for the first time (point-cache misses) across the
faceted-brep pass. hits / (hits + misses) is the memoization rate.
faceted_brep_time_ms: u64Wall time (ms) attributed to faceted-brep part meshing. Populated only in
observability native builds (Instant traps on wasm32); 0 otherwise.
geometry_diagnostics: Option<GeometryDiagnostics>Full CSG / opening diagnostics (opening classification, per-reason failure
breakdown, per-host detail, silent rectangular no-ops, rect_fast engagement)
aggregated across the native geometry pass — the same GeometryDiagnostics
contract the WASM batch path surfaces, so a consumer sees one shape on both.
None when nothing diagnostic-worthy happened (no openings, no failures).
Trait Implementations§
Source§impl Clone for ProcessingStats
impl Clone for ProcessingStats
Source§fn clone(&self) -> ProcessingStats
fn clone(&self) -> ProcessingStats
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProcessingStats
impl Debug for ProcessingStats
Source§impl Default for ProcessingStats
impl Default for ProcessingStats
Source§fn default() -> ProcessingStats
fn default() -> ProcessingStats
Source§impl<'de> Deserialize<'de> for ProcessingStats
impl<'de> Deserialize<'de> for ProcessingStats
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>,
Auto Trait Implementations§
impl Freeze for ProcessingStats
impl RefUnwindSafe for ProcessingStats
impl Send for ProcessingStats
impl Sync for ProcessingStats
impl Unpin for ProcessingStats
impl UnwindSafe for ProcessingStats
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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,
§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>
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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.