#cpu #rss #measure #process #time #cpu-time #command-line-tool

app t-cmd

CLI utility to measure CPU time and RSS of a process

1 unstable release

0.1.0 Nov 20, 2021

#315 in Profiling

MIT/Apache

7KB
93 lines

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.

No runtime deps