use super::*;
#[derive(Clone, Copy, Debug, Default, Deserialize, Getter, PartialEq, Serialize)]
pub struct ColdStartTtffStages {
#[get(type(copy))]
pub(crate) app_renderer_init_ms: f64,
#[get(type(copy))]
pub(crate) font_ready_ms: f64,
#[get(type(copy))]
pub(crate) initial_mount_ms: f64,
#[get(type(copy))]
pub(crate) first_layout_ms: f64,
#[get(type(copy))]
pub(crate) first_paint_ms: f64,
#[get(type(copy))]
pub(crate) first_present_ms: f64,
#[get(type(copy))]
pub(crate) ready_ms: f64,
#[get(type(copy))]
pub(crate) total_ttff_ms: f64,
#[get(type(copy))]
pub(crate) layout_nodes: usize,
#[get(type(copy))]
pub(crate) paint_commands: usize,
#[get(type(copy))]
pub(crate) draw_batches: usize,
#[get(type(copy))]
pub(crate) alloc_count: u64,
#[get(type(copy))]
pub(crate) bytes_allocated: u64,
}
#[derive(Clone, Debug, Default, Deserialize, Getter, New, PartialEq, Serialize)]
pub struct ColdStartTtffReport {
#[get(type(copy))]
pub(crate) iterations: usize,
#[get(type(copy))]
pub(crate) median: ColdStartTtffStages,
#[get(type(copy))]
pub(crate) p95_total_ttff_ms: f64,
#[get(type(copy))]
pub(crate) max_total_ttff_ms: f64,
pub(crate) runs: Vec<ColdStartTtffStages>,
}