Zsh has an ingenious feature that automatically prints timing statistics for commands taking longer than
$REPORTTIME to execute. Think of it as automatically executing a pipeline through
time as needed.
From the Zsh Manual:
REPORTTIME If nonzero, commands whose combined user and system execution times (measured in seconds) are greater than this value have timing statistics printed for them.
Does there exist a similar feature, or set of scripts that enables similar behaviour, for Bash?