This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch tpc_preview4-external
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/tpc_preview4-external by this
push:
new 15d7071391f add scanner profile to level 1
15d7071391f is described below
commit 15d7071391fd93f186a90cab61e74b28ad68896d
Author: morningman <[email protected]>
AuthorDate: Sun Jan 4 23:38:46 2026 +0800
add scanner profile to level 1
---
be/src/io/cache/block_file_cache_profile.cpp | 2 +-
.../src/main/java/org/apache/doris/common/profile/RuntimeProfile.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/io/cache/block_file_cache_profile.cpp
b/be/src/io/cache/block_file_cache_profile.cpp
index 6a9676fbeee..8d4fb2b736e 100644
--- a/be/src/io/cache/block_file_cache_profile.cpp
+++ b/be/src/io/cache/block_file_cache_profile.cpp
@@ -67,7 +67,7 @@ void FileCacheMetrics::update_metrics_callback() {
FileCacheProfileReporter::FileCacheProfileReporter(RuntimeProfile* profile) {
static const char* cache_profile = "FileCache";
- ADD_TIMER_WITH_LEVEL(profile, cache_profile, 2);
+ ADD_TIMER_WITH_LEVEL(profile, cache_profile, 1);
num_local_io_total =
ADD_CHILD_COUNTER_WITH_LEVEL(profile, "NumLocalIOTotal",
TUnit::UNIT, cache_profile, 1);
num_remote_io_total = ADD_CHILD_COUNTER_WITH_LEVEL(profile,
"NumRemoteIOTotal", TUnit::UNIT,
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/common/profile/RuntimeProfile.java
b/fe/fe-core/src/main/java/org/apache/doris/common/profile/RuntimeProfile.java
index 4067cd3e1fb..06dcac53d77 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/common/profile/RuntimeProfile.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/common/profile/RuntimeProfile.java
@@ -496,7 +496,7 @@ public class RuntimeProfile {
}
boolean shouldBeIncluded() {
- if (Objects.equals(this.name, "CommonCounters") ||
Objects.equals(this.name, "CustomCounters")) {
+ if (Objects.equals(this.name, "CommonCounters") ||
Objects.equals(this.name, "CustomCounters") || Objects.equals(this.name,
"Scanner")) {
return true;
} else {
return this.name.matches(".*Pipeline.*") ||
this.name.matches(".*_OPERATOR.*");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]