Skip to main content

CliffSearch

Trait CliffSearch 

Source
pub trait CliffSearch: Iterator<Item = usize> {
    // Required methods
    fn overloaded(&mut self);
    fn estimate(&self) -> Range<usize>;
}
Expand description

A class of type that can estimate the performance cliff for a system.

Required Methods§

Source

fn overloaded(&mut self)

Indicate that the system could not keep up with the previous load factor yielded by Iterator::next.

This will affect what value the next call to Iterator::next yields.

Source

fn estimate(&self) -> Range<usize>

Give the current estimate of the maximum load the system-under-test can support.

Implementors§