Skip to content

"Fixed" benchmark time is out-of-date in the optimizations section of the testing guide #21501

Closed
@huonw

Description

@huonw

It currently says

test bench_xor_1000_ints ... bench:       1 ns/iter (+/- 0)

While running the code as written gives

test bench_xor_1000_ints ... bench:       131 ns/iter (+/- 3)

(which is correct.)

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