mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
[skip ci] Add comments of insert func on benchmark (#10157)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
parent
17e4534d26
commit
d36926d366
@ -123,8 +123,10 @@ class BaseRunner(object):
|
||||
while i < (size // vectors_per_file):
|
||||
vectors = []
|
||||
if vectors_per_file >= ni:
|
||||
# Get the path of the specified file
|
||||
file_name = utils.gen_file_name(i, dimension, data_type)
|
||||
# logger.info("Load npy file: %s start" % file_name)
|
||||
# Load file content
|
||||
data = np.load(file_name)
|
||||
# logger.info("Load npy file: %s end" % file_name)
|
||||
for j in range(vectors_per_file // ni):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user