pub struct ParallelBuildStats {
pub tiles_encoded: usize,
pub chunks_processed: usize,
pub total_bytes_raw: u64,
pub total_bytes_compressed: u64,
pub compression_ratio: f64,
}Expand description
Statistics produced by build_pmtiles_parallel.
Fields§
§tiles_encoded: usizeTotal number of tiles that were encoded (compressed and inserted).
chunks_processed: usizeNumber of rayon work chunks that were dispatched.
total_bytes_raw: u64Sum of all input (uncompressed) tile payload sizes in bytes.
total_bytes_compressed: u64Sum of all output (compressed) tile payload sizes in bytes.
compression_ratio: f64total_bytes_compressed / total_bytes_raw.
Returns 1.0 when total_bytes_raw == 0 to avoid division by zero.
Trait Implementations§
Source§impl Clone for ParallelBuildStats
impl Clone for ParallelBuildStats
Source§fn clone(&self) -> ParallelBuildStats
fn clone(&self) -> ParallelBuildStats
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 moreAuto Trait Implementations§
impl Freeze for ParallelBuildStats
impl RefUnwindSafe for ParallelBuildStats
impl Send for ParallelBuildStats
impl Sync for ParallelBuildStats
impl Unpin for ParallelBuildStats
impl UnsafeUnpin for ParallelBuildStats
impl UnwindSafe for ParallelBuildStats
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,
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>
Converts
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>
Converts
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