vor 0.2.1

Cross-platform performance instrumentation with an in-app egui panel and live system and GPU metrics.
Documentation
//! Egui panel: frame bars (top) + puffin flame chart (middle) +
//! system & caller-defined metric line plots (bottom). Cursor is
//! synced across all three.
//!
//! Vor owns the system metrics — frame_ms, memory_mb, io_ms,
//! io_MB — sampled by [`PanelState::tick`] each frame. The caller
//! plugs in workload metrics via a `&VecDeque<R>` of records plus a
//! `&[Metric<R>]` descriptor list of what to plot from each.

mod bars;
mod color;
mod flame;
mod layout;
mod metric;
// Replay reads `.vor` files, which the recorder writes only off wasm.
#[cfg(not(target_arch = "wasm32"))]
mod replay;
mod show;
mod state;

pub use crate::viz::metric::Metric;
#[cfg(not(target_arch = "wasm32"))]
pub use crate::viz::replay::ReplayState;
pub use crate::viz::show::show;
pub use crate::viz::state::{PanelConfig, PanelState};