CLI-TTI
A utility to measure how long a CLI program takes to be interactive.
Installation
From Binary
Download and extract the appropriate binary for your platform from the releases page. Place the executable within your PATH variable.
From Source
Download the repository via Git or as a Zip. Then run:
go build
Then place the built executable within your PATH variable.
Usage
cli-tti [--wait-time] [-n] [--print-expected] <command to test>
Flags
--wait-time
: The number of milliseconds to wait until the program is assumed to be interactive.
-n
: The number of cycles to time the command before computing the average time-to-interactive.
--print-expected
: Print the output that the utility has determined to be the interactive state of the command.