[benchmarking] update sharding algorithm
The current sharding algorithm calculates the expected shard time and stick to it. When a test has a long runtime, it could cause its sibling shard to be empty. Updating the algorithm to always update the expect time for the remaining after each shard. Also will ensure each shard should have at least one test. Bug: chromium:1130157 Change-Id: I3c335cfc58e35b48e5fd374c9d7546184cd68c56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2481006Reviewed-by:John Chen <johnchen@chromium.org> Commit-Queue: Wenbin Zhang <wenbinzhang@google.com> Cr-Commit-Position: refs/heads/master@{#827022}
Showing
Please register or sign in to comment