diff --git a/source/libs/index/test/indexBench.cc b/source/libs/index/test/indexBench.cc index f9dcc3e08c46fbfbd9114e50854c4a593126eb7c..b828be0ffe97ee94c6b19e52c71d049ae023b66a 100644 --- a/source/libs/index/test/indexBench.cc +++ b/source/libs/index/test/indexBench.cc @@ -128,13 +128,13 @@ int BenchWrite(Idx *idx, int batchSize, int limit) { int BenchRead(Idx *idx) { return 0; } int main() { - Idx *idx = new Idx; - if (idx->SetUp(true) != 0) { - std::cout << "failed to setup index" << std::endl; - return 0; - } else { - std::cout << "succ to setup index" << std::endl; - } - // BenchWrite(idx, 100, 10000); + // Idx *idx = new Idx; + // if (idx->SetUp(true) != 0) { + // std::cout << "failed to setup index" << std::endl; + // return 0; + // } else { + // std::cout << "succ to setup index" << std::endl; + // } + // BenchWrite(idx, 100, 10000); return 1; }