Skip to main content

RenderLoadStats

Struct RenderLoadStats 

Source
pub struct RenderLoadStats {
Show 30 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 subchunk_parse_ms: u128, pub surface_scan_ms: u128, pub block_entity_parse_ms: 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: usize

Number of chunks requested by the caller.

§loaded_chunks: usize

Number of chunks with renderable data loaded.

§subchunks_decoded: usize

Number of subchunks decoded while loading.

§worker_threads: usize

Number of worker threads used by the operation.

§queue_wait_ms: u128

Milliseconds spent waiting for bounded pipeline capacity.

§load_ms: u128

Total chunk load time in milliseconds.

§keys_requested: usize

Number of exact storage keys requested.

§keys_found: usize

Number of requested storage keys found.

§exact_get_batches: usize

Number of exact batch-get operations issued.

§prefix_scans: usize

Number of prefix scans issued as fallback or discovery work.

§decode_ms: u128

Milliseconds spent decoding loaded records.

§db_read_ms: u128

Milliseconds spent reading from the storage backend.

§biome_parse_ms: u128

Milliseconds spent parsing biome records.

§subchunk_parse_ms: u128

Milliseconds spent parsing subchunk records.

§surface_scan_ms: u128

Milliseconds spent computing surface columns.

§block_entity_parse_ms: u128

Milliseconds spent parsing block-entity records.

§full_reload_ms: u128

Milliseconds spent on full reloads for exact surface requests.

§legacy_terrain_records: usize

Number of legacy terrain records loaded.

§legacy_biome_samples: usize

Number of legacy biome samples decoded.

§legacy_biome_colors: usize

Compatibility RGB values decoded from legacy biome samples.

§terrain_source_legacy: usize

Number of sampled columns sourced from legacy terrain.

§terrain_source_subchunk: usize

Number of sampled columns sourced from subchunks.

§legacy_pocket_chunks: usize

Number of virtual legacy chunks loaded from chunks.dat.

§detected_format: WorldFormat

World format detected during the load.

§computed_surface_columns: usize

Number of surface columns computed from block data.

§raw_height_mismatch_columns: usize

Columns whose raw heightmap disagreed with computed surface data.

§missing_subchunk_columns: usize

Columns missing required subchunk data.

§legacy_fallback_columns: usize

Columns that fell back to legacy terrain data.

§legacy_biome_preferred_columns: usize

Columns where legacy RGB biome samples took precedence.

§modern_biome_fallback_columns: usize

Columns where modern biome ids were used as fallback.

Trait Implementations§

Source§

impl Clone for RenderLoadStats

Source§

fn clone(&self) -> RenderLoadStats

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RenderLoadStats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for RenderLoadStats

Source§

fn default() -> RenderLoadStats

Returns the “default value” for a type. Read more
Source§

impl PartialEq for RenderLoadStats

Source§

fn eq(&self, other: &RenderLoadStats) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for RenderLoadStats

Source§

impl Eq for RenderLoadStats

Source§

impl StructuralPartialEq for RenderLoadStats

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.