Simple script, no loops, atrociously slow.

Can anyone please tell me why selecting the first row of my mail takes a full 8 seconds on leopard, macbook pro?

tell application "System Events"
	tell process "Mail"
		set t to table 1 of scroll area 1 of splitter group 2 of window 1
		select row 1 of t
	end tell
end tell

Not sure. I get instant results on my MBP.

17" MacBook Pro - 10.5.6
2.5 GHz Intel Core 2 Duo
2GB RAM

Duration: 2.80s, AppleScript: 0.00s, Apple Events: 2.79s (2)

Bunch of applications running at the time.

Thanks craig, james.

James, How do you get the elapsed times? I’m running the script from script editor, but is there another way to run the script, say from the command line ? I’m new to Applescript.

The strange thing is that all of interactions with the UI elements are instantaneous, except the last event that tells the table area to select the first row.

Model: MBP
AppleScript: 2.0.1
Browser: Firefox 3.0.5
Operating System: Mac OS X (10.5)