Skip to content

Fix UDF timing units: microseconds to milliseconds#338

Merged
erikdarlingdata merged 1 commit intodevfrom
fix/udf-timing-units
Feb 27, 2026
Merged

Fix UDF timing units: microseconds to milliseconds#338
erikdarlingdata merged 1 commit intodevfrom
fix/udf-timing-units

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • Plan XML UdfCpuTime/UdfElapsedTime values are milliseconds, not microseconds
  • Property names, /1000 division in PlanAnalyzer Rule 4, and "us" labels in the properties panel were all wrong
  • Was showing 1/1000th of real UDF time, and the critical severity threshold (1000ms) was effectively unreachable
  • Fixed in both Dashboard and Lite

Test plan

  • Dashboard builds clean
  • Lite builds clean
  • plan-b 32/32 tests pass

🤖 Generated with Claude Code

Plan XML UdfCpuTime/UdfElapsedTime values are milliseconds, not
microseconds. The property names, /1000 division in PlanAnalyzer,
and "us" labels in the properties panel were all wrong — showing
1/1000th of real time and making the critical severity threshold
effectively unreachable.

- Rename UdfCpuTimeUs/UdfElapsedTimeUs → UdfCpuTimeMs/UdfElapsedTimeMs
- Remove /1000.0 division in Rule 4, use values directly
- Fix properties panel labels from "us" to "ms"
- Both Dashboard and Lite

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit c206575 into dev Feb 27, 2026
3 checks passed
@erikdarlingdata erikdarlingdata deleted the fix/udf-timing-units branch February 27, 2026 23:01
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