Re:Benchmarking shell pipelines and the Unix “tools” philosophy
by eesmith on Wednesday January 08, 2020 @01:01AM
(#21988762)
Your shell has a built-in "time" command.
man bash:
If the time reserved word precedes a pipeline, the elapsed as well
as user and system time consumed by its execution are reported when
the pipeline terminates.
man time:
Some shells may provide a builtin time command which is similar
or identical to this utility. Consult the builtin(1) manual page.
man bash:
man time: