Re: AppleScript runs slow on Intel Macs
Re: AppleScript runs slow on Intel Macs
- Subject: Re: AppleScript runs slow on Intel Macs
- From: Martin Orpen <email@hidden>
- Date: Fri, 22 Sep 2006 00:17:02 +0100
On 22 Sep 2006, at 00:01, Michelle Steiner wrote:
But why does this script take anywhere from 18 to 25 seconds on a
1.83 GHz Intel iMac?
tell application "Finder"
repeat 1500 times
get current date
end repeat
beep
end tell
It doesn't on my MacBook:
Duration: 0.34s, AppleScript: 0.08s, Apple Events: 0.27s (1501)
Yet this one is almost instantaneous
set x to 0
tell application "Finder"
repeat 1500 times
set x to x + 1
end repeat
beep
end tell
Duration: 0.02s, AppleScript: 0.00s, Apple Events: 0.02s (1)
Wouldn't that speed increase be because you aren't actually doing
*anything* useful in this script?
--
Martin Orpen
Idea Digital Imaging Ltd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden