pub enum Scenario {
ClosedLoop,
OpenLoop,
SharedPrefix,
Cli,
}Expand description
Locked enum of bench scenarios — see docs/bench/PLAYBOOK.md § 2.
Variants§
ClosedLoop
--concurrency K — K workers in tight send→wait loop. Headline: throughput.
OpenLoop
--request-rate R — Poisson arrivals. Headline: goodput.
1024-token shared prefix, burst arrival. Headline: cache hit rate.
Cli
ferrum bench single-user batch=1. Headline: TTFT + TPOT.
Trait Implementations§
impl Copy for Scenario
Source§impl<'de> Deserialize<'de> for Scenario
impl<'de> Deserialize<'de> for Scenario
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Scenario
impl StructuralPartialEq for Scenario
Auto Trait Implementations§
impl Freeze for Scenario
impl RefUnwindSafe for Scenario
impl Send for Scenario
impl Sync for Scenario
impl Unpin for Scenario
impl UnsafeUnpin for Scenario
impl UnwindSafe for Scenario
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