code: def time_wrapper(func):
      """
      This decorator prints the execution time for the decorated function.
      """
  
      def wrapper(*args, **kwargs):
          """
          log: Specify output log
          rps: Specify the rps of the return interface
          """
          start = time.time()
          log = kwargs.get("log", True)
          kwargs.pop("log", None)
          rps = kwargs.get("rps", False)
          kwargs.pop("rps", None)
          result = func(*args, **kwargs)
          end = time.time()
          if log:
              _rps = round(end - start, 2)
              logger.debug(
                  "Milvus {} run in {}s".format(func.__name__, _rps)
              )
              if rps is not False:
                  return result, _rps
          return result
  
      return wrapper
  
imports: import random
  import logging
  import time
  from multiprocessing import Process
  from pymilvus import Milvus, DataType
  import utils
  import config
  from milvus_benchmark.runners import utils
label_desc: Use image node_id 1 for calling a global function with example usage: time_wrapper(func) and returns: wrapper, result, result,  _rps