You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loosen memory grant color thresholds + show compile time in Runtime panel (#215 C1, C4) (#261)
C1: memory grant utilization color was too harsh. Old thresholds said
anything under 80% used was warn/bad, so a 61% grant showed orange.
Joe's point: operators spill near their max grant, so moderate
utilization is fine and even preferable; what we actually want to flag
is significant over-granting (very low utilization, reserved memory
wasted). New thresholds:
>= 40% utilized: good (neutral / green)
20-39%: warn (orange)
< 20%: bad (red)
Applied in three places:
- PlanViewerControl.EfficiencyColor (used for memory grant, DOP
efficiency, and thread utilization — loosens all three consistently)
- HtmlExporter memory card eff class
- Index.razor memory card eff class
C4: compile time is now shown as a plan-level property in the Runtime
panel of all three surfaces regardless of whether Rule 19 fires, per
Joe's point that compile time belongs in the category-B "plan-level"
grouping. Previously only visible when compile CPU >= 1000ms via the
warning. Small `Compile: Nms` row next to Elapsed/CPU/DOP.
Version bump 1.7.4 -> 1.7.5.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments