mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
[skip ci] Add comments of wrapper func on benchmark (#9677)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user