Better than time? gnomon is a command line utility to prepend timestamp information to the standard output of another command.
time