pub struct GcSample {
pub count: u32,
pub longest: Duration,
}Expand description
The engine’s idle cycle collections over the last 10 seconds. A
collection walks every object of the JS heap at once (it cannot be cut
into slices) and runs between commits, so it is not in
PerfSnapshot::js; the collections QuickJS starts by itself while
the app’s code allocates are, inside that code’s time.
Fields§
§count: u32Collections in the window.
longest: DurationThe longest of them (zero without any).
Trait Implementations§
impl Copy for GcSample
impl Eq for GcSample
impl StructuralPartialEq for GcSample
Auto Trait Implementations§
impl Forget for GcSample
impl Freeze for GcSample
impl Move for GcSample
impl RefUnwindSafe for GcSample
impl Send for GcSample
impl Sync for GcSample
impl Unpin for GcSample
impl UnsafeUnpin for GcSample
impl UnwindSafe for GcSample
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.