Skip to content

ui: Wattson: Optimize selection aggregators and track attribution#5427

Open
wusamuel6 wants to merge 3 commits intomainfrom
dev/wusamuel/ui_consolidation
Open

ui: Wattson: Optimize selection aggregators and track attribution#5427
wusamuel6 wants to merge 3 commits intomainfrom
dev/wusamuel/ui_consolidation

Conversation

@wusamuel6
Copy link
Copy Markdown
Contributor

Migrate Wattson UI to directly use newly added MACROS and tables. This
reduces some work done by the UI and has more code and table reuse.

Bug: 354290668
Signed-off-by: Samuel Wu wusamuel@google.com

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

@stevegolton stevegolton self-requested a review April 9, 2026 12:44
Include the Android package UID in the internal idle transition
attribution stages since the stdlib tables have it. This allows UI
aggregators to group idle overhead by package without expensive joins
against thread and process tables.

Bug: 354290668
Signed-off-by: Samuel Wu <wusamuel@google.com>
Introduce internal aggregation macros that accept a pre-filtered task
table. This provides the infrastructure for the UI to bypass expensive
interval intersections on the full trace by passing in a smaller,
time-filtered view of task estimates.

Bug: 354290668
Signed-off-by: Samuel Wu <wusamuel@google.com>
Update Wattson UI to directly use newly added MACROS and tables. This
reduces some work done by the UI and has more code and table reuse.

There are a few screenshot diffs due to rounding errors (~0.01% diff).

Bug: 354290668
Signed-off-by: Samuel Wu <wusamuel@google.com>
@wusamuel6 wusamuel6 force-pushed the dev/wusamuel/ui_consolidation branch from 470b0f2 to e4d68b9 Compare April 9, 2026 17:21
@wusamuel6 wusamuel6 marked this pull request as ready for review April 9, 2026 18:14
@wusamuel6 wusamuel6 requested a review from a team as a code owner April 9, 2026 18:14
@wusamuel6 wusamuel6 enabled auto-merge (squash) April 10, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant