pub struct ChunkLoadStats {Show 34 fields
pub requested_chunks: usize,
pub loaded_chunks: usize,
pub subchunks_decoded: usize,
pub worker_threads: usize,
pub queue_wait_ms: u128,
pub load_ms: u128,
pub keys_requested: usize,
pub keys_found: usize,
pub exact_get_batches: usize,
pub prefix_scans: usize,
pub decode_ms: u128,
pub db_read_ms: u128,
pub biome_parse_ms: u128,
pub biome_parse_us: u128,
pub subchunk_parse_ms: u128,
pub subchunk_parse_us: u128,
pub surface_scan_ms: u128,
pub surface_scan_us: u128,
pub block_entity_parse_ms: u128,
pub block_entity_parse_us: u128,
pub full_reload_ms: u128,
pub legacy_terrain_records: usize,
pub legacy_biome_samples: usize,
pub legacy_biome_colors: usize,
pub terrain_source_legacy: usize,
pub terrain_source_subchunk: usize,
pub legacy_pocket_chunks: usize,
pub detected_format: WorldFormat,
pub computed_surface_columns: usize,
pub raw_height_mismatch_columns: usize,
pub missing_subchunk_columns: usize,
pub legacy_fallback_columns: usize,
pub legacy_biome_preferred_columns: usize,
pub modern_biome_fallback_columns: usize,
}Expand description
Diagnostics collected while loading render chunks.
Fields§
§requested_chunks: usizeNumber of chunks requested by the caller.
loaded_chunks: usizeNumber of chunks with renderable data loaded.
subchunks_decoded: usizeNumber of subchunks decoded while loading.
worker_threads: usizeNumber of worker threads used by the operation.
queue_wait_ms: u128Milliseconds spent waiting for bounded pipeline capacity.
load_ms: u128Total chunk load time in milliseconds.
keys_requested: usizeNumber of exact storage keys requested.
keys_found: usizeNumber of requested storage keys found.
exact_get_batches: usizeNumber of exact batch-get operations issued.
prefix_scans: usizeNumber of prefix scans issued as fallback or discovery work.
decode_ms: u128Milliseconds spent decoding loaded records.
db_read_ms: u128Milliseconds spent reading from the storage backend.
biome_parse_ms: u128Milliseconds spent parsing biome records.
biome_parse_us: u128Microseconds spent parsing biome records.
subchunk_parse_ms: u128Milliseconds spent parsing subchunk records.
subchunk_parse_us: u128Microseconds spent parsing subchunk records.
surface_scan_ms: u128Milliseconds spent computing surface columns.
surface_scan_us: u128Microseconds spent computing surface columns.
block_entity_parse_ms: u128Milliseconds spent parsing block-entity records.
block_entity_parse_us: u128Microseconds spent parsing block-entity records.
full_reload_ms: u128Milliseconds spent on full reloads for exact surface requests.
legacy_terrain_records: usizeNumber of legacy terrain records loaded.
legacy_biome_samples: usizeNumber of legacy biome samples decoded.
legacy_biome_colors: usizeCompatibility RGB values decoded from legacy biome samples.
terrain_source_legacy: usizeNumber of sampled columns sourced from legacy terrain.
terrain_source_subchunk: usizeNumber of sampled columns sourced from subchunks.
legacy_pocket_chunks: usizeNumber of virtual legacy chunks loaded from chunks.dat.
detected_format: WorldFormatWorld format detected during the load.
computed_surface_columns: usizeNumber of surface columns computed from block data.
raw_height_mismatch_columns: usizeColumns whose raw heightmap disagreed with computed surface data.
missing_subchunk_columns: usizeColumns missing required subchunk data.
legacy_fallback_columns: usizeColumns that fell back to legacy terrain data.
legacy_biome_preferred_columns: usizeColumns where legacy RGB biome samples took precedence.
modern_biome_fallback_columns: usizeColumns where modern biome ids were used as fallback.
Trait Implementations§
Source§impl Clone for ChunkLoadStats
impl Clone for ChunkLoadStats
Source§fn clone(&self) -> ChunkLoadStats
fn clone(&self) -> ChunkLoadStats
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ChunkLoadStats
Source§impl Debug for ChunkLoadStats
impl Debug for ChunkLoadStats
Source§impl Default for ChunkLoadStats
impl Default for ChunkLoadStats
Source§fn default() -> ChunkLoadStats
fn default() -> ChunkLoadStats
impl Eq for ChunkLoadStats
Source§impl PartialEq for ChunkLoadStats
impl PartialEq for ChunkLoadStats
impl StructuralPartialEq for ChunkLoadStats
Auto Trait Implementations§
impl Freeze for ChunkLoadStats
impl RefUnwindSafe for ChunkLoadStats
impl Send for ChunkLoadStats
impl Sync for ChunkLoadStats
impl Unpin for ChunkLoadStats
impl UnsafeUnpin for ChunkLoadStats
impl UnwindSafe for ChunkLoadStats
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<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
key and return true if they are equal.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