Commit 9edb49c
[SPARK-51452][UI] Improve Thread dump table search
### What changes were proposed in this pull request?
This PR improves thread dump search by:
- query with pattern `tr[id^="thread_"]` w/o further patten matching
- short-circuit the searching loop if found
-
### Why are the changes needed?
code refactoring for perf & cost
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?

### Was this patch authored or co-authored using generative AI tooling?
no
Closes #50225 from yaooqinn/SPARK-51452.
Authored-by: Kent Yao <yao@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>1 parent 890ee47 commit 9edb49c
File tree
1 file changed
+14
-19
lines changed- core/src/main/resources/org/apache/spark/ui/static
1 file changed
+14
-19
lines changedLines changed: 14 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
| 88 | + | |
| 89 | + | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
104 | 98 | | |
105 | | - | |
| 99 | + | |
106 | 100 | | |
107 | 101 | | |
108 | | - | |
109 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
110 | 105 | | |
111 | 106 | | |
112 | 107 | | |
| |||
0 commit comments