opensearch-project / opensearch-benchmark

OpenSearch Benchmark - a community driven, open source project to run performance tests for OpenSearch
https://opensearch.org/docs/latest/benchmark/
Apache License 2.0
111 stars 79 forks source link

Add support for custom iteration values #696

Open OVI3D0 opened 6 days ago

OVI3D0 commented 6 days ago

Description

Recently, OSB workloads were updated to include parameters for users to input custom iteration values in their test executions. This change gives the new aggregate command the ability to read these values and take them into account when calculating the average values for test executions.

Previously, iterations for each task were stored as a sum of iterations across all test execution. With this change, the iterations for each task are stored separately, so a test with x times the iterations of another will also hold that much more weight in the average calculation.

Also updates the unit tests to reflect the new changes.

Issues Resolved

670

Testing

make test


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.