LNS Home
Script Debugger
Download & Buy
x Explore
x Edit
x Run & Debug
x Deploy
What's New In 4.5
bullet Documentation
bullet Blog Posts
My SD Story
Software Updates
 
4.0.9 Update
3.0.9 Update
bullet 2.0.5 Update
x Free Downloads
 
XML Tools
XSLT Tools
x Property List Tools
x List & Record Tools
Register Your Copy of Script Debugger
Join the Script Debugger Mailing List
x AppleScript/ Scripting Links
Products
x Script Debugger 4.5
Site Contents
bullet Mark’s Blog
Product Registration
Bug Reporting
x Freeware
Contacting Us

SD4 Headling


image

Times

image

Script Debugger automatically times your script as it runs. The timings accumulate as the script runs, and the total cumulative results can be viewed afterwards. This feature is especially useful during development when you’re trying to make your script as fast and efficient as possible.

To learn how long your script took to run, you don’t need to do anything special. Just run the script. The result drawer displays the timings, at the bottom of the drawer:

image

A typical timing might be something like this:

Duration: 1.12s, AppleScript: 0.03s, AppleEvents: 1.09s (92)

The times displayed consist of the total duration, followed by a breakdown into time spent within the script itself and time spent sending Apple events (and waiting for the replies). The two latter times will sum to the former. The number in parentheses is the number of Apple events sent.

You can also get a handle on what Apple events are being sent by using the Apple Event Log.



Explore | Edit | Run & Debug | Deploy | What's New In 4.5 | My SD Story


Copyright © 1998-2009 Late Night Software Ltd. - All Rights Reserved.