Applescript Calculate Run Time of a Command
It’s not AppleScript, but is there a reason why the time command isn't applicable?  It’s used like this:

time &lt;command&gt;
time find /opt
time tar xf bigFile.tar.bz2


It gives output like this:

real    0m0.044s
user    0m0.000s
sys     0m0.008s