Expand description
§perfgate
High-performance, modular Rust library for performance budgeting and baseline diffing.
This is the primary public library crate for perfgate. It keeps the clean-architecture seams as modules without making every seam a public package.
See the GitHub repository for full documentation and usage examples.
§Example
use perfgate::types::{ToolInfo, Metric, Direction};
let tool = ToolInfo { name: "perfgate".into(), version: "1.0.0".into() };
assert_eq!(tool.name, "perfgate");
assert_eq!(Metric::WallMs.default_direction(), Direction::Lower);Re-exports§
pub use domain::budget;pub use domain::paired;pub use domain::significance;pub use domain::stats;pub use app::export;pub use app::sensor;pub use app::render;pub use perfgate_types as types;
Modules§
- adapters
- Compatibility path for runtime process and host adapters.
- app
- Application layer for perfgate.
- core
- Core I/O-free building blocks for performance-gating policy.
- domain
- Domain logic for perfgate.
- error
- Unified error types for the perfgate ecosystem.
- host_
detect - Host mismatch detection helpers.
- integrations
- Integrations for external benchmark formats and CI platforms. Integrations for importing external benchmark data and CI platform output.
- prelude
- presentation
- Presentation helpers for rendering human- and CI-facing output.
- runtime
- Runtime helpers for optional diagnostics and local execution support. Runtime helpers that support the public facade without becoming separate public crates.
- sha256
- Deterministic fingerprint helpers.
- validation
- Validation functions for benchmark names and configuration.