Skip to content

Rename test::BenchHarness to test::Bencher #12640

Closed
@liigo

Description

@liigo

test::BenchHarness is too long, and not that straightforward. As a type name Bencher is more consistent with #[bench] attributes.

#[cfg(test)]
mod bench {
    use test::Bencher;

    #[bench]
    pub fn foo(b: &mut Bencher) {
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions