Crates.io | t-cmd |
lib.rs | t-cmd |
version | 0.1.0 |
source | src |
created_at | 2021-11-20 15:05:01.997251 |
updated_at | 2021-11-20 15:05:01.997251 |
description | CLI utility to measure CPU time and RSS of a process |
homepage | |
repository | https://github.com/matklad/t-cmd |
max_upload_size | |
id | 484927 |
size | 16,670 |
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
$ cargo install t-cmd
The binary name is t
.
"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.