mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-27 16:59:56 +01:00
17 lines
752 B
Rust
17 lines
752 B
Rust
//! Performance scenarios of the UI library (spec 22.7) and the harness that measures them.
|
|
//!
|
|
//! The scenario list, the measurement and the report are shared. A library supplies a
|
|
//! [`Library`]: the foundation binary runs [`run_all`] over it and writes `baseline/foundation.json`. It reads
|
|
//! `baseline/legacy.json`, the recorded baseline of the old library, as its speed gate.
|
|
#![warn(missing_docs)]
|
|
|
|
mod alloc;
|
|
mod harness;
|
|
mod report;
|
|
mod scenario;
|
|
|
|
pub use alloc::{CountingAlloc, allocations};
|
|
pub use harness::{Library, MEASURED_FRAMES, Scene, SceneBuild, WARMUP_FRAMES, run_all, screen_rect};
|
|
pub use report::{Measurement, Report, ScenarioResult, gate_failures, print_table, read_json, write_json};
|
|
pub use scenario::{SCENARIOS, Scenario};
|