提交 0b2721dd 编写于 作者: S starlord

reduce unittest time cost


Former-commit-id: 55e4eb5912766465cb3cd864994f71c08fd971a9
上级 90692fe3
...@@ -21,7 +21,7 @@ namespace { ...@@ -21,7 +21,7 @@ namespace {
static const std::string TABLE_NAME = "test_group"; static const std::string TABLE_NAME = "test_group";
static constexpr int64_t TABLE_DIM = 256; static constexpr int64_t TABLE_DIM = 256;
static constexpr int64_t VECTOR_COUNT = 250000; static constexpr int64_t VECTOR_COUNT = 250000;
static constexpr int64_t INSERT_LOOP = 100000; static constexpr int64_t INSERT_LOOP = 10000;
engine::meta::TableSchema BuildTableSchema() { engine::meta::TableSchema BuildTableSchema() {
engine::meta::TableSchema table_info; engine::meta::TableSchema table_info;
......
...@@ -21,7 +21,7 @@ namespace { ...@@ -21,7 +21,7 @@ namespace {
static const std::string TABLE_NAME = "test_group"; static const std::string TABLE_NAME = "test_group";
static constexpr int64_t TABLE_DIM = 256; static constexpr int64_t TABLE_DIM = 256;
static constexpr int64_t VECTOR_COUNT = 250000; static constexpr int64_t VECTOR_COUNT = 250000;
static constexpr int64_t INSERT_LOOP = 100000; static constexpr int64_t INSERT_LOOP = 10000;
engine::meta::TableSchema BuildTableSchema() { engine::meta::TableSchema BuildTableSchema() {
engine::meta::TableSchema table_info; engine::meta::TableSchema table_info;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册