Skip to content

v3.3.0: ⌛ Improve command duration, support subseconds with new flag

Choose a tag to compare

@edouard-lopez edouard-lopez released this 11 Dec 11:18
· 545 commits to master since this release

🚀 Add support for showing subsecond in command duration

Option Default Description
pure_show_subsecond_command_duration false Show subsecond (ex. 1.5s) in command duration.

feature-show-command-duration-subsecond

🐛 Improve command duration, support subseconds with new flag

  • Fix command duration rounding: Duration wasn't shown when:
    • When threshold = 5 (5000ms)
    • When process finished in [5000, 6000) milliseconds
  • Fix command duration threshold: Duration wasn't shown when:
    • When threshold = 5 (5000ms)
    • When process finished in 1m4s (64 seconds)

⬇️ Installation

fisher install rafaelrinaldi/pure

👏 Thanks