Collect command execution time in command metrics.
Added mean execution time to metrics.