4 releases (2 breaking)

0.3.0 Dec 25, 2023
0.2.1 Jan 3, 2022
0.2.0 Jul 24, 2021
0.1.0 Jun 20, 2021

#1955 in Command line utilities

MPL-2.0 license

28KB
610 lines

timeRS

Like GNU time but in Rust!

Some features:

  • better precision than the built-in time
  • configurable unit outputs (seconds, milliseconds, microseconds, etc)
  • returns the exit code of the timed process, or the signal (if it was stopped via a signal)

Usage

See help

$ timers --help

Basically, just use this as you would use the time built-in that's included in most shells.

Installation

Install with cargo:

$ cargo install timers

Dependencies

~4–11MB
~127K SLoC