提交 118f1ac1 编写于 作者: Z zyyang

change

上级 eac79edc
...@@ -77,8 +77,6 @@ public class SubTableService extends AbstractService { ...@@ -77,8 +77,6 @@ public class SubTableService extends AbstractService {
} }
public int insertMultiThreads(SuperTableMeta superTableMeta, int threadSize, long tableSize, long startTime, long gap, JdbcTaosdemoConfig config) { public int insertMultiThreads(SuperTableMeta superTableMeta, int threadSize, long tableSize, long startTime, long gap, JdbcTaosdemoConfig config) {
long start = System.currentTimeMillis();
List<FutureTask> taskList = new ArrayList<>(); List<FutureTask> taskList = new ArrayList<>();
List<Thread> threads = IntStream.range(0, threadSize) List<Thread> threads = IntStream.range(0, threadSize)
.mapToObj(i -> { .mapToObj(i -> {
...@@ -116,8 +114,6 @@ public class SubTableService extends AbstractService { ...@@ -116,8 +114,6 @@ public class SubTableService extends AbstractService {
} }
} }
long end = System.currentTimeMillis();
logger.info("insert " + affectedRows + " rows, time cost: " + (end - start) + " ms");
return affectedRows; return affectedRows;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册