change
This commit is contained in:
parent
5d3544e79a
commit
0d47e4a31c
|
@ -151,7 +151,6 @@ public class TaosDemoCommandLineRunner implements CommandLineRunner {
|
||||||
long a = System.currentTimeMillis();
|
long a = System.currentTimeMillis();
|
||||||
subTableService.insertAutoCreateTable(data, config.numOfThreadsForInsert, config.frequency);
|
subTableService.insertAutoCreateTable(data, config.numOfThreadsForInsert, config.frequency);
|
||||||
long b = System.currentTimeMillis();
|
long b = System.currentTimeMillis();
|
||||||
logger.info(">>> time cost: " + (b - a) + " ms");
|
|
||||||
timeCost += (b - a);
|
timeCost += (b - a);
|
||||||
} else {
|
} else {
|
||||||
subTableService.insert(data, config.numOfThreadsForInsert, config.frequency);
|
subTableService.insert(data, config.numOfThreadsForInsert, config.frequency);
|
||||||
|
|
Loading…
Reference in New Issue