You may need to know exactly the time of launching some commands. Time is for you.
Command is a bash builtin.
The last ; is important. example:
time { rm -rf /folder/bar && mkdir -p /folder/bar ; echo "done" ; }