pub struct QueryBenchmark { /* private fields */ }
Trait Implementations§
source§impl BenchmarkWithInput for QueryBenchmark
impl BenchmarkWithInput for QueryBenchmark
source§type GlobalInput = SuggestStore
type GlobalInput = SuggestStore
Input that will be created once and then passed by reference to each
of the benchmark’s iterations.
source§type IterationInput = IterationInput
type IterationInput = IterationInput
Input that will be created for each of the benchmark’s iterations.
source§fn global_input(&self) -> Self::GlobalInput
fn global_input(&self) -> Self::GlobalInput
Generate the global input (not included in the benchmark time)
source§fn iteration_input(&self) -> Self::IterationInput
fn iteration_input(&self) -> Self::IterationInput
Generate the per-iteration input (not included in the benchmark time)
source§fn benchmarked_code(
&self,
store: &Self::GlobalInput,
i_input: Self::IterationInput,
)
fn benchmarked_code( &self, store: &Self::GlobalInput, i_input: Self::IterationInput, )
Perform the operations that we’re benchmarking.
Auto Trait Implementations§
impl Freeze for QueryBenchmark
impl RefUnwindSafe for QueryBenchmark
impl Send for QueryBenchmark
impl Sync for QueryBenchmark
impl Unpin for QueryBenchmark
impl UnwindSafe for QueryBenchmark
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more