pub struct PreviewRenderTimings {
pub ensure_dylib_cached_ms: u64,
pub dylib_load: Option<PreviewDylibLoadTimings>,
pub load_view_ms: u64,
pub render_ms: u64,
pub png_encode_ms: u64,
pub total_ms: u64,
}Expand description
Timing breakdown for a single preview render request inside the support app.
Fields§
§ensure_dylib_cached_ms: u64Time spent ensuring the requested dylib is cached and loaded.
dylib_load: Option<PreviewDylibLoadTimings>Detailed dylib-load timings when this request had to load a new dylib.
load_view_ms: u64Time spent resolving the requested preview symbol into a view.
render_ms: u64Time spent rendering the view to an in-memory image.
png_encode_ms: u64Time spent encoding the rendered image to PNG.
total_ms: u64Total request time inside the support app.
Trait Implementations§
Source§impl Clone for PreviewRenderTimings
impl Clone for PreviewRenderTimings
Source§fn clone(&self) -> PreviewRenderTimings
fn clone(&self) -> PreviewRenderTimings
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 moreimpl Copy for PreviewRenderTimings
Source§impl Debug for PreviewRenderTimings
impl Debug for PreviewRenderTimings
Source§impl Default for PreviewRenderTimings
impl Default for PreviewRenderTimings
Source§fn default() -> PreviewRenderTimings
fn default() -> PreviewRenderTimings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreviewRenderTimings
impl<'de> Deserialize<'de> for PreviewRenderTimings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PreviewRenderTimings
impl RefUnwindSafe for PreviewRenderTimings
impl Send for PreviewRenderTimings
impl Sync for PreviewRenderTimings
impl Unpin for PreviewRenderTimings
impl UnsafeUnpin for PreviewRenderTimings
impl UnwindSafe for PreviewRenderTimings
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