pub struct SimpleBenchmark {
pub name: String,
pub warmup_iterations: usize,
pub measurement_iterations: usize,
}
Expand description
Simple benchmark framework for basic performance testing
Fields§
§name: String
§warmup_iterations: usize
§measurement_iterations: usize
Implementations§
Source§impl SimpleBenchmark
impl SimpleBenchmark
Sourcepub fn bench_pagerank(
&self,
graph: &ArrowGraph,
) -> Result<SimpleBenchmarkResult>
pub fn bench_pagerank( &self, graph: &ArrowGraph, ) -> Result<SimpleBenchmarkResult>
Run REAL PageRank benchmark with iterative algorithm
Sourcepub fn bench_pagerank_simd(
&self,
graph: &ArrowGraph,
) -> Result<SimpleBenchmarkResult>
pub fn bench_pagerank_simd( &self, graph: &ArrowGraph, ) -> Result<SimpleBenchmarkResult>
Run SIMD-optimized PageRank benchmark
Sourcepub fn bench_connected_components(
&self,
graph: &ArrowGraph,
) -> Result<SimpleBenchmarkResult>
pub fn bench_connected_components( &self, graph: &ArrowGraph, ) -> Result<SimpleBenchmarkResult>
Run REAL Connected Components benchmark with Union-Find
Sourcepub fn bench_graph_construction(
&self,
num_nodes: usize,
num_edges: usize,
) -> Result<SimpleBenchmarkResult>
pub fn bench_graph_construction( &self, num_nodes: usize, num_edges: usize, ) -> Result<SimpleBenchmarkResult>
Run graph construction benchmark
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimpleBenchmark
impl RefUnwindSafe for SimpleBenchmark
impl Send for SimpleBenchmark
impl Sync for SimpleBenchmark
impl Unpin for SimpleBenchmark
impl UnwindSafe for SimpleBenchmark
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more