milvus-sdk-java icon indicating copy to clipboard operation
milvus-sdk-java copied to clipboard

Milvus java sdk is too slow for the first call

Open cxxzc opened this issue 3 years ago • 0 comments

Hello,

Currently I am trying to use milvus java sdk to search, but I found that the first time cost is nearly 1s, but after changing the search vector for the second time, the time-consuming is significantly reduced. Is there any way to preheat?

1:searchTopK end.cost = 00:00:00.778; 2:searchTopK end.cost = 00:00:00.124; 3:searchTopK end.cost = 00:00:00.100; 4:searchTopK end.cost = 00:00:00.071

cxxzc avatar Sep 06 '22 06:09 cxxzc