LapTime is an AppleScript library to measure execution time of AppleScript in accurary of a few milliseconds. It is useful to evaluate performance of a script and to tune up the script.
You can measure execution time by using current date command which is AppleScript's built-in command. But time resolution of AppleScript's date class is 1 sec, which is too rough for performance measurements. By using NSDate of Cocoa, the time resolution of LapTime is below a few msec.
Required to install with LapTime .
The manual consisted of the reference generated by AppleScriptDoc and sample code is stored in the bundle of "LapTime.scptd". After installation of OpenHelpBook.scptd, run "LapTime" from Script menu.
The detail manual of "LapTime" should be displayed in Help Viewer.
Copy LapTime.scptd into either following locations.
Your Home/Library/Script Libraries/
or
/Library/Script Libraries/