gnomon
prepend timestamps to command output
TLDR
Prepend timestamps
$ [command] | gnomon
Show elapsed time$ [command] | gnomon -t elapsed
Show absolute time$ [command] | gnomon -t absolute
Custom format$ [command] | gnomon -f "[%H:%M:%S]"
SYNOPSIS
gnomon [options]
DESCRIPTION
gnomon prepends timestamp information to command output. It shows how long each line took to appear, useful for identifying slow operations in build processes or logs.
The tool color-codes output based on time thresholds, highlighting slow lines in red or yellow. It helps diagnose performance issues in command pipelines.
PARAMETERS
-t TYPE, --type TYPE
Time type (elapsed, absolute).-f FORMAT, --format FORMAT
Custom time format.-h, --high SECONDS
Threshold for high time.-m, --medium SECONDS
Threshold for medium time.--help
Display help information.
CAVEATS
Node.js tool. Adds some latency. Best for diagnosing slow processes.
HISTORY
gnomon was created to help developers identify slow steps in build processes and command output.
