mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments of wrapper func on benchmark (#9677)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/9679/head
parent
587679d850
commit
0023b11c28
|
@ -41,6 +41,10 @@ def time_wrapper(func):
|
|||
"""
|
||||
|
||||
def wrapper(*args, **kwargs):
|
||||
"""
|
||||
log: Specify output log
|
||||
rps: Specify the rps of the return interface
|
||||
"""
|
||||
start = time.time()
|
||||
# logger.debug("Milvus {} start".format(func.__name__))
|
||||
log = kwargs.get("log", True)
|
||||
|
|
Loading…
Reference in New Issue