Skip to content

Plan viewer: own-time rendering, efficiency colors, wait stats polish#59

Merged
erikdarlingdata merged 1 commit intodevfrom
feature/plan-viewer-polish
Mar 8, 2026
Merged

Plan viewer: own-time rendering, efficiency colors, wait stats polish#59
erikdarlingdata merged 1 commit intodevfrom
feature/plan-viewer-polish

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • Own-time node display: Row-mode operators now show own CPU/elapsed by subtracting child times, so only true hotspots highlight red (not every operator above the bottleneck)
  • Efficiency color coding in Runtime Summary: DOP, memory grant utilization, and thread usage all use white/yellow/orange/red scale (>=80% / >=60% / >=40% / <40%)
  • Wait stats polish: Category color on wait type names (not bars), semi-transparent bars, auto-sizing columns with compact indicators, horizontal scroll fallback
  • Insights panel: Expander stretches to fill full window width — no more gap at right edge

Test plan

  • Row-mode parallel plans: only the leaf operators (seeks/scans) show red timing
  • DOP efficiency percentage visible and color-coded in Runtime Summary
  • Memory grant and thread utilization color-coded
  • Wait stats names fully visible, duration text not clipped
  • Wait stats panel fills to window edge

🤖 Generated with Claude Code

- Node display uses own CPU/elapsed (subtracts children in row mode)
  instead of misleading cumulative values — only true hotspots show red
- Orange tier (>=100ms) between white and red for notable operators
- Runtime Summary: DOP shows parallelism efficiency percentage
- Color-coded efficiency: DOP, memory grant, threads (white/yellow/orange/red)
- Wait stats: category color on wait type names, semi-transparent bars
- Wait stats: auto-sizing columns with compact 60px bar indicators
- Insights panel: expander stretches to fill full window width

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit b961b75 into dev Mar 8, 2026
@erikdarlingdata erikdarlingdata deleted the feature/plan-viewer-polish branch March 10, 2026 02:27
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