euv-performance 0.48.0

Reproducible CPU, layout, rasterization, and allocation benchmarks for the cross-platform euv runtime.
Documentation
//! euv-performance
//!
//! Reproducible CPU, reactive propagation, retained layout cache,
//! cold-start TTFF, steady-state allocation, and multi-mode rendering benchmark suite
//! for the cross-platform euv runtime.

mod allocator;
mod observability;
mod stress;
mod suite;
mod ttff;

#[cfg(test)]
#[path = "../tests/mod.rs"]
mod tests;

pub use {allocator::*, observability::*, stress::*, suite::*, ttff::*};

use std::{
    alloc::{GlobalAlloc, Layout, System},
    cell::Cell,
    collections::{HashMap, HashSet},
    env::consts::OS,
    fmt::Write,
    rc::Rc,
    sync::{
        Mutex, MutexGuard, PoisonError,
        atomic::{AtomicI64, AtomicU64, AtomicUsize, Ordering, fence},
    },
    time::{Duration, Instant},
};

#[cfg(test)]
use std::{
    env::temp_dir,
    fs::{remove_file, write},
    io::Error,
    path::PathBuf,
    process::{Command, Output},
};

use {
    euv::*,
    euv_ui::*,
    lombok_macros::{Data, Getter, New},
    serde::{Deserialize, Serialize},
    serde_json::to_string_pretty,
};