pub struct BenchmarkDocumentationGenerator;Expand description
Benchmark documentation generator
Implementations§
Source§impl BenchmarkDocumentationGenerator
impl BenchmarkDocumentationGenerator
Sourcepub fn generate_comparison_table(
title: &str,
results: &[(String, BenchmarkResult)],
) -> String
pub fn generate_comparison_table( title: &str, results: &[(String, BenchmarkResult)], ) -> String
Generate performance comparison table from multiple results
Sourcepub fn generate_scaling_table(
operation_name: &str,
scaling_results: &[(usize, BenchmarkResult)],
) -> String
pub fn generate_scaling_table( operation_name: &str, scaling_results: &[(usize, BenchmarkResult)], ) -> String
Generate scaling analysis table
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BenchmarkDocumentationGenerator
impl RefUnwindSafe for BenchmarkDocumentationGenerator
impl Send for BenchmarkDocumentationGenerator
impl Sync for BenchmarkDocumentationGenerator
impl Unpin for BenchmarkDocumentationGenerator
impl UnsafeUnpin for BenchmarkDocumentationGenerator
impl UnwindSafe for BenchmarkDocumentationGenerator
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