pub struct PiJsTickStats {Show 14 fields
pub ran_macrotask: bool,
pub microtask_drains: usize,
pub jobs_drained: usize,
pub pending_hostcalls: usize,
pub hostcalls_total: u64,
pub hostcalls_timed_out: u64,
pub memory_used_bytes: u64,
pub peak_memory_used_bytes: u64,
pub repairs_total: u64,
pub module_cache_hits: u64,
pub module_cache_misses: u64,
pub module_cache_invalidations: u64,
pub module_cache_entries: u64,
pub module_disk_cache_hits: u64,
}Expand description
Statistics from a tick execution.
Fields§
§ran_macrotask: boolWhether a macrotask was executed.
microtask_drains: usizeNumber of microtask drain iterations.
jobs_drained: usizeNumber of pending QuickJS jobs drained.
pending_hostcalls: usizeNumber of pending hostcalls (in-flight Promises).
hostcalls_total: u64Total hostcalls issued by this runtime.
hostcalls_timed_out: u64Total hostcalls timed out by this runtime.
memory_used_bytes: u64Last observed QuickJS memory_used_size in bytes.
peak_memory_used_bytes: u64Peak observed QuickJS memory_used_size in bytes.
repairs_total: u64Number of auto-repair events recorded since the runtime was created.
module_cache_hits: u64Number of module cache hits accumulated by this runtime.
module_cache_misses: u64Number of module cache misses accumulated by this runtime.
module_cache_invalidations: u64Number of module cache invalidations accumulated by this runtime.
module_cache_entries: u64Number of module entries currently retained in the cache.
module_disk_cache_hits: u64Number of disk cache hits (transpiled source loaded from persistent storage).
Trait Implementations§
Source§impl Clone for PiJsTickStats
impl Clone for PiJsTickStats
Source§fn clone(&self) -> PiJsTickStats
fn clone(&self) -> PiJsTickStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PiJsTickStats
impl Debug for PiJsTickStats
Source§impl Default for PiJsTickStats
impl Default for PiJsTickStats
Source§fn default() -> PiJsTickStats
fn default() -> PiJsTickStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for PiJsTickStats
impl PartialEq for PiJsTickStats
impl Copy for PiJsTickStats
impl Eq for PiJsTickStats
impl StructuralPartialEq for PiJsTickStats
Auto Trait Implementations§
impl Freeze for PiJsTickStats
impl RefUnwindSafe for PiJsTickStats
impl Send for PiJsTickStats
impl Sync for PiJsTickStats
impl Unpin for PiJsTickStats
impl UnsafeUnpin for PiJsTickStats
impl UnwindSafe for PiJsTickStats
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<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
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().