chore: update formatted duration string magnitude for millisconds <-> microseconds (#85136)
## Why?
This PR refines the duration formatting logic in the build process:
1. Changed the millisecond threshold from 1ms to 2ms for better
readability
2. Fixed comparison operators from `>` to `>=` to ensure consistent
behavior at threshold boundaries
3. Updated documentation to reflect the new 2ms threshold
These changes ensure durations are displayed with appropriate units and
precision across all time ranges.