opti: add log for time cost
This commit is contained in:
parent
e7f4755386
commit
8be1396268
|
@ -412,6 +412,8 @@ SColumnInfoData* getColInfoResult(void* metaHandle, SArray* pTableList, SNode* p
|
||||||
}
|
}
|
||||||
metaReaderClear(&mr);
|
metaReaderClear(&mr);
|
||||||
}
|
}
|
||||||
|
pResBlock->info.rows = rows;
|
||||||
|
|
||||||
int64_t st1 = taosGetTimestampUs();
|
int64_t st1 = taosGetTimestampUs();
|
||||||
qDebug("generate tag block rows:%d, cost:%lf ms", rows, st1-st);
|
qDebug("generate tag block rows:%d, cost:%lf ms", rows, st1-st);
|
||||||
|
|
||||||
|
@ -432,7 +434,6 @@ SColumnInfoData* getColInfoResult(void* metaHandle, SArray* pTableList, SNode* p
|
||||||
qDebug("calculate tag block rows:%d, cost:%lf ms", rows, st2-st1);
|
qDebug("calculate tag block rows:%d, cost:%lf ms", rows, st2-st1);
|
||||||
|
|
||||||
end:
|
end:
|
||||||
taosArrayDestroy(pBlockList);
|
|
||||||
taosHashCleanup(ctx.colHash);
|
taosHashCleanup(ctx.colHash);
|
||||||
taosArrayDestroy(ctx.cInfoList);
|
taosArrayDestroy(ctx.cInfoList);
|
||||||
blockDataDestroy(pResBlock);
|
blockDataDestroy(pResBlock);
|
||||||
|
|
Loading…
Reference in New Issue