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
Allow the cmd_duration module to show milis as fractional seconds instead of their own component,
Examples:
1.3s
15.7s
1m10.2s
0.4s
I actually expected this to happen when turning the show_milliseconds option on.
This is especially useful for commands that take <9s, where the difference between e.g. 2.9s and 2.1s is significant, but hard to scan when rendered as 2s900ms vs 2s100ms.
Considerations:
Should the precision rendered be configurable?
Should this (optionally) be turned off automatically for durations of >1min
I would be happy to implement this. If i followed the code path correctly, the render_time function responsible to do that is used by the aws module as well, so the feature could be exposed there as well if it makes sense.
EDIT:
Also noticed another possible inconsistency, opened a separate issue for it
The text was updated successfully, but these errors were encountered:
Feature Request
Describe the solution you'd like
Allow the
cmd_duration
module to show milis as fractional seconds instead of their own component,Examples:
I actually expected this to happen when turning the
show_milliseconds
option on.This is especially useful for commands that take <9s, where the difference between e.g.
2.9s
and2.1s
is significant, but hard to scan when rendered as2s900ms
vs2s100ms
.Considerations:
I would be happy to implement this. If i followed the code path correctly, the
render_time
function responsible to do that is used by theaws
module as well, so the feature could be exposed there as well if it makes sense.EDIT:
Also noticed another possible inconsistency, opened a separate issue for it
The text was updated successfully, but these errors were encountered: