Skip to main content

majordomus_cli/bench/
mod.rs

1//! The benchmark projection: every externally callable operation of the registry, as a
2//! target, derived and never listed by hand. A capability with a required benchmark
3//! policy is a target directly and through every transport its exposure declares; the
4//! inputs come from its input type's `BenchmarkCases`; the transports' own operations
5//! (`initialize`, `tools/list`, `/openapi.json`, ...) are system targets declared once in
6//! `system`. Coverage is `covered / required` with a generated denominator; the runners
7//! time targets through the executor, a real loopback socket and a real child process;
8//! the results are a versioned document; the accepted baseline is compared against a
9//! policy that is data.
10
11pub mod baseline;
12pub(crate) mod coverage;
13pub(crate) mod projection;
14pub mod results;
15pub(crate) mod runner;
16pub(crate) mod stats;
17pub(crate) mod system;
18
19pub use coverage::{Coverage, CoverageLine, CoverageState};
20pub use projection::{BenchmarkProjection, BenchmarkTarget, TargetKind, Transport, View};
21pub use results::{BenchmarkResult, ResultDocument, RESULT_SCHEMA};
22pub use runner::{Profile, Runner};
23pub use stats::Statistics;
24pub use system::SystemTarget;