提交 f8fe0c6f 编写于 作者: H Haojun Liao

[td-11818]opt

上级 86e230cf
...@@ -263,14 +263,16 @@ TEST(testCase, external_sort_Test) { ...@@ -263,14 +263,16 @@ TEST(testCase, external_sort_Test) {
int32_t total = 1; int32_t total = 1;
int64_t s1 = taosGetTimestampUs(); int64_t s1 = taosGetTimestampUs();
int32_t t = 1;
while(1) { while(1) {
int64_t s = taosGetTimestampUs(); int64_t s = taosGetTimestampUs();
pRes = pOperator->exec(pOperator, &newgroup); pRes = pOperator->exec(pOperator, &newgroup);
int64_t e = taosGetTimestampUs(); int64_t e = taosGetTimestampUs();
printf("---------------elapsed:%ld\n", e - s); if (t++ == 1) {
printf("---------------elapsed:%ld\n", e - s);
}
if (pRes == NULL) { if (pRes == NULL) {
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册