t-cmd

Crates.iot-cmd
lib.rst-cmd
version0.1.0
sourcesrc
created_at2021-11-20 15:05:01.997251
updated_at2021-11-20 15:05:01.997251
descriptionCLI utility to measure CPU time and RSS of a process
homepage
repositoryhttps://github.com/matklad/t-cmd
max_upload_size
id484927
size16,670
owners (github:badrobotics:owners)

documentation

README

t

A Linux CLI utility to measure process time and memory usage. In a sense, /usr/bin/time with better output by default.

Example:

$ cd ~/projects/ndarray
$ touch src/lib.rs && t cargo test --no-run -q
real 2.30s
cpu  25.57s (20.17s user + 5.40s sys)
rss  273.46mb

Installation

$ cargo install t-cmd

The binary name is t.

Maintenance

"Works on my machine" and mostly finished for my personal use-case. Would love to give ownership to somebody who wants to add support for more platforms, proper docs, CLI options, etc.

Commit count: 3

cargo fmt