pub struct BenchmarkProfile {
pub name: &'static str,
pub description: &'static str,
pub expected_runtime: &'static str,
pub output_directory: &'static str,
pub algorithms: &'static [&'static str],
}Expand description
Stable metadata for a named benchmark profile.
Profiles describe runtime and output expectations only. Examples still list concrete algorithms explicitly so the benchmark layer does not become an algorithm registry.
Fields§
§name: &'static str§description: &'static str§expected_runtime: &'static str§output_directory: &'static str§algorithms: &'static [&'static str]Implementations§
Source§impl BenchmarkProfile
impl BenchmarkProfile
pub fn output_path(&self) -> PathBuf
Trait Implementations§
Source§impl Clone for BenchmarkProfile
impl Clone for BenchmarkProfile
Source§fn clone(&self) -> BenchmarkProfile
fn clone(&self) -> BenchmarkProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BenchmarkProfile
impl Debug for BenchmarkProfile
Source§impl PartialEq for BenchmarkProfile
impl PartialEq for BenchmarkProfile
Source§fn eq(&self, other: &BenchmarkProfile) -> bool
fn eq(&self, other: &BenchmarkProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BenchmarkProfile
impl Eq for BenchmarkProfile
impl StructuralPartialEq for BenchmarkProfile
Auto Trait Implementations§
impl Freeze for BenchmarkProfile
impl RefUnwindSafe for BenchmarkProfile
impl Send for BenchmarkProfile
impl Sync for BenchmarkProfile
impl Unpin for BenchmarkProfile
impl UnsafeUnpin for BenchmarkProfile
impl UnwindSafe for BenchmarkProfile
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