-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
Reduce benchmark test run time #18778
Copy link
Copy link
Closed
Labels
benchmarkIssues and PRs related to the benchmark subsystem.Issues and PRs related to the benchmark subsystem.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.testIssues and PRs related to the tests.Issues and PRs related to the tests.
Metadata
Metadata
Assignees
Labels
benchmarkIssues and PRs related to the benchmark subsystem.Issues and PRs related to the benchmark subsystem.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.testIssues and PRs related to the tests.Issues and PRs related to the tests.
Right now our benchmarks often contain
millionsorthousandsas iteration step. This should be changed ton(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.