Skip to content

Benchmark doesn't handle code taking >1ms #9532

Closed
@lilyball

Description

@lilyball

From reading the extra::test::auto_bench() code, there's no handling in here for when one iteration takes >1ms to run. If I understand this correctly, that will cause the code to decide to run for 0 iterations, and it will then proceed to try and run the 0-iteration benchmarks over and over until it hits the 3 second timeout and bails.

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