pub struct BenchExecutionPlan {
pub operation: OperationContext,
/* private fields */
}Expand description
Execution plan shared by benchmark runners and CI smoke checks.
Fields§
§operation: OperationContextObservability context for benchmark-level spans and metrics.
Implementations§
Source§impl BenchExecutionPlan
impl BenchExecutionPlan
Sourcepub fn new(name: impl Into<String>, concurrency: usize) -> Self
pub fn new(name: impl Into<String>, concurrency: usize) -> Self
Build a plan for a benchmark run.
Sourcepub fn pool_config_for(&self, branch: &str) -> PoolConfig
pub fn pool_config_for(&self, branch: &str) -> PoolConfig
Build a fresh worker pool config for one benchmark branch.
Auto Trait Implementations§
impl !RefUnwindSafe for BenchExecutionPlan
impl !UnwindSafe for BenchExecutionPlan
impl Freeze for BenchExecutionPlan
impl Send for BenchExecutionPlan
impl Sync for BenchExecutionPlan
impl Unpin for BenchExecutionPlan
impl UnsafeUnpin for BenchExecutionPlan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more