gnomon
all
Utility to annotate console logging statements with timestamps and find slow processes.
More info →Options (3)
-t, --typebooleanShow number of seconds since the start of the process
Example:
{{npm test}} | gnomon {{[-t|--type]}} elapsed-total-h, --highbooleanUse a high threshold of 0.5 seconds, exceeding which the timestamp will be colored bright red
Example:
{{npm test}} | gnomon {{[-h|--high]}} 0.5-m, --mediumbooleanUse a medium threshold of 0.2 seconds, exceeding which the timestamp will be colored bright yellow
Example:
{{npm test}} | gnomon {{[-m|--medium]}} 0.2Examples (5)
Use a high threshold of 0.5 seconds, exceeding which the timestamp will be colored bright red
made by @shridhargupta | data from tldr-pages