mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-29 20:14:04 -06:00
fix "worst" case measure of progress
This commit is contained in:
parent
8f93084b5d
commit
1053de4817
@ -81,7 +81,7 @@ public class MilvusDescribeIndexOp extends MilvusBaseOp<DescribeIndexParam> impl
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int percent() {
|
public int percent() {
|
||||||
return stream().mapToInt(IndexStat::percent).max().orElse(0);
|
return stream().mapToInt(IndexStat::percent).min().orElse(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public static final record IndexStat(
|
public static final record IndexStat(
|
||||||
|
Loading…
Reference in New Issue
Block a user