mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add time record for flush (#11937)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/11988/head
parent
55d162356b
commit
a6594b65da
|
@ -55,8 +55,11 @@ def hello_milvus(host="127.0.0.1"):
|
|||
t1 = time.time()
|
||||
print(f"\nInsert {nb} vectors cost {t1 - t0} seconds")
|
||||
|
||||
t0 = time.time()
|
||||
print(f"\nGet collection entities...")
|
||||
print(collection.num_entities)
|
||||
t1 = time.time()
|
||||
print(f"\nGet collection entities cost {t1 - t0} seconds")
|
||||
|
||||
# create index and load table
|
||||
default_index = {"index_type": "IVF_FLAT", "params": {"nlist": 128}, "metric_type": "L2"}
|
||||
|
|
Loading…
Reference in New Issue