class_docstr: run build
code: def run_case(self, case_metric, **case_param):
      index_field_name = case_param["index_field_name"]
      start_time = time.time()
      self.milvus.create_index(
          index_field_name,
          case_param["index_type"],
          case_param["metric_type"],
          index_param=case_param["index_param"],
      )
      build_time = round(time.time() - start_time, 2)
      tmp_result = {"build_time": build_time}
      return tmp_result
  
file_path: milvus/tests/benchmark/milvus_benchmark/runners/build.py
imports: import time
  import copy
  import logging
  from milvus_benchmark import parser
  from milvus_benchmark.runners import utils
  from milvus_benchmark.runners.base import BaseRunner
label_desc: Use image node_id 4 for calling the BuildRunner obj's underlying member method code with example usage: obj.run_case(case_metric) and returns: tmp_result