From 4c9f032858992ac1ef6c72e1f2110644437b9f93 Mon Sep 17 00:00:00 2001 From: laihui <1353307710@qq.com> Date: Thu, 12 Sep 2024 16:04:46 +0800 Subject: [PATCH] display the time of receiving network data --- be/src/runtime/stream_load/stream_load_context.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/be/src/runtime/stream_load/stream_load_context.cpp b/be/src/runtime/stream_load/stream_load_context.cpp index cec015fe92cc7b..dbabf7fa421a09 100644 --- a/be/src/runtime/stream_load/stream_load_context.cpp +++ b/be/src/runtime/stream_load/stream_load_context.cpp @@ -107,6 +107,8 @@ std::string StreamLoadContext::to_json() const { writer.Int64(read_data_cost_nanos / 1000000); writer.Key("WriteDataTimeMs"); writer.Int(write_data_cost_nanos / 1000000); + writer.Key("ReceiveDataTimeMs"); + writer.Int((receive_and_read_data_cost_nanos - read_data_cost_nanos) / 1000000); if (!group_commit) { writer.Key("CommitAndPublishTimeMs"); writer.Int64(commit_and_publish_txn_cost_nanos / 1000000);