mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
[skip ci] Add coments of base file on benchmark (#9350)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
parent
83228c35ad
commit
adbdfcbce2
@ -56,6 +56,7 @@ class BaseRunner(object):
|
||||
return self._run_as_group
|
||||
|
||||
def init_metric(self, name, collection_info=None, index_info=None, search_info=None, run_params=None, t="metric"):
|
||||
# The locust test calls this method to pass the corresponding metric
|
||||
self._metric.collection = collection_info
|
||||
self._metric.index = index_info
|
||||
self._metric.search = search_info
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user