From 0b05afa4e26d58d037f58c8ae80fb8abdffc1be3 Mon Sep 17 00:00:00 2001 From: wt Date: Sun, 26 Sep 2021 15:07:56 +0800 Subject: [PATCH] [skip ci] Add comment for the collection name resolution on benchmark (#8578) Signed-off-by: wangting0128 --- tests/benchmark/milvus_benchmark/parser.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/benchmark/milvus_benchmark/parser.py b/tests/benchmark/milvus_benchmark/parser.py index 14abfc4702..be48080e3d 100644 --- a/tests/benchmark/milvus_benchmark/parser.py +++ b/tests/benchmark/milvus_benchmark/parser.py @@ -13,6 +13,15 @@ def operations_parser(operations): def collection_parser(collection_name): + """ + Resolve the collection name to obtain the corresponding configuration + e.g.: + sift_1m_128_l2 + sift: type of data set + 1m: size of the data inserted in the collection + 128: vector dimension + l2: metric type + """ tmp = collection_name.split("_") # if len(tmp) != 5: # return None