pub struct IngestBenchmark { /* private fields */ }
Implementations§
Trait Implementations§
source§impl BenchmarkWithInput for IngestBenchmark
impl BenchmarkWithInput for IngestBenchmark
source§type GlobalInput = ()
type GlobalInput = ()
Input that will be created once and then passed by reference to each
of the benchmark’s iterations.
source§type IterationInput = InputType
type IterationInput = InputType
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, _: &Self::GlobalInput, input: Self::IterationInput)
fn benchmarked_code(&self, _: &Self::GlobalInput, input: Self::IterationInput)
Perform the operations that we’re benchmarking.
Auto Trait Implementations§
impl Freeze for IngestBenchmark
impl RefUnwindSafe for IngestBenchmark
impl Send for IngestBenchmark
impl Sync for IngestBenchmark
impl Unpin for IngestBenchmark
impl UnwindSafe for IngestBenchmark
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