Re: AppleScript runs slow on Intel Mac's
Re: AppleScript runs slow on Intel Mac's
- Subject: Re: AppleScript runs slow on Intel Mac's
- From: Leif Ă–quist <email@hidden>
- Date: Thu, 21 Sep 2006 14:36:09 +0200
First off, I'm new to this mail list and hope this is the correct way to reply to the questions aroused by my recently posted topic (no reply buttons...- I'm not sure where this reply will end up in the forum)?
Trying to cover your questions:
My posted test script was probably in the most cases pasted directly into the script editors by the various participants of the mentioned test. The scripts were - as far as I know - saved by the participants as script files or applets (I personally saved and runned the script as a script file).
The test script addresses Finder so I don't think Rosetta is involved in running the script.
The test script:
tell application "Finder" -- returns the scripts start and stop-time in two separated text strings
activate
set cd1 to (current date) & return as string
repeat 1500 times -- givs the script a manageable (long enough) runtime
set cd2 to (current date) as string
end repeat
set allCd cd1 &
cd2 as string
end tell
Added information about the test:
Of 7 older machines, 6 of them ran the script considerably faster than the Intel Mac's. The only exception was one G5 running the script as slow as the Intel Mac's (an unexplained anomaly).
The top speed was achieved by a G5 running the script in approximately 1 second. The Intel machines - mostly MacBook's was used (1.83-2.16 Ghz/512 - 1 Gb RAM) - runned the script in the time span of 13-26 seconds - the longest times were the most common. I personally tried the script on a MacBook and the new 24 inch iMac - and the running time was in both cases approximately 25 seconds.
Using Tiger or Panther on the older machines didn't seem to matter - in any way they runned faster than the Intel Mac's.
This test is of course very amateurish and I still hope AppleScript can be runned at reasonably fast speeds in the new Intel Mac's, but obviously I need help to see how it should be done.
regards,
Leif
_______________________________________________
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