[skip ci] Add comments of wrapper func on benchmark (#9677)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/9679/head
wt 2021-10-11 19:46:30 +08:00 committed by GitHub
parent 587679d850
commit 0023b11c28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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)