Skip to content

Reduce benchmark test run time #18778

Closed
Closed
@BridgeAR

Description

@BridgeAR

Right now our benchmarks often contain millions or thousands as iteration step. This should be changed to n (in case of a conflict e.g. iterations) where the concrete number is given.

This allows our tests to significantly run faster, since the minimum iteration will not be a million times but a single time. The corresponding benchmark tests should be changed as well therefore.

Another benefit of it is that it is easier to read how fast the operation really was.

It would be great if a PR would change all entries at once or all entries of a subsystem to prevent conflicting changes. If someone starts working on this, please leave a note when you do so and on what you work so others know.

As soon as the benchmarks and the tests get fixed there would be a follow up task to check how long each individual sequential benchmark tests takes that was changed and if it would be possible to move them from sequential to parallel.

I will gladly assist as a mentor in case help is needed.

Update: I "removed the parts that do not apply anymore. The rest is still up to date and open.

Metadata

Metadata

Assignees

No one assigned

    Labels

    benchmarkIssues and PRs related to the benchmark subsystem.good first issueIssues that are suitable for first-time contributors.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.testIssues and PRs related to the tests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions