Struct test::Bencher [] [src]

pub struct Bencher {
    pub bytes: u64,
    // some fields omitted
}
🔬 This is a nightly-only experimental API. (test)
[]

Manager of the benchmarking runs.

This is fed into functions marked with #[bench] to allow for set-up & tear-down before running a piece of code repeatedly via a call to iter.

Fields

🔬 This is a nightly-only experimental API. (test)

Methods

impl Bencher
[src]
[]

[]

🔬 This is a nightly-only experimental API. (test)

Callback for benchmark functions to run in their body.

🔬 This is a nightly-only experimental API. (test)

Trait Implementations

impl Clone for Bencher
[src]
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Bencher

impl Sync for Bencher