diff --git a/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/service/SubTableService.java b/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/service/SubTableService.java index 94195c05e285ad2d0765c5c2c38231aef6ad07d4..ce7794545307b492da2bf42877da51a2ff5a8374 100644 --- a/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/service/SubTableService.java +++ b/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/service/SubTableService.java @@ -77,8 +77,6 @@ public class SubTableService extends AbstractService { } public int insertMultiThreads(SuperTableMeta superTableMeta, int threadSize, long tableSize, long startTime, long gap, JdbcTaosdemoConfig config) { - long start = System.currentTimeMillis(); - List taskList = new ArrayList<>(); List threads = IntStream.range(0, threadSize) .mapToObj(i -> { @@ -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; }