referrerpolicy=no-referrer-when-downgrade
node_bench::core

Trait BenchmarkDescription

Source
pub trait BenchmarkDescription {
    // Required methods
    fn path(&self) -> Path;
    fn setup(self: Box<Self>) -> Box<dyn Benchmark>;
    fn name(&self) -> Cow<'static, str>;
}

Required Methods§

Source

fn path(&self) -> Path

Source

fn setup(self: Box<Self>) -> Box<dyn Benchmark>

Source

fn name(&self) -> Cow<'static, str>

Implementors§