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: "hackmiester (Hunter Fuller)" <email@hidden>
- Date: Thu, 21 Sep 2006 10:37:09 -0500
On 21 September 2006, at 07:36, Leif Öquist wrote:
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)?
I'm using Apple Mail. I normally hit Reply All, so it goes to the
author of the message as well as the list.
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).
That is odd.. Try saving it and running it in Terminal using
"osascript blah.scpt"
The test script addresses Finder so I don't think Rosetta is
involved in running the script.
The test script:
On my Intel MacBook:
4H630EKCU9B:~/Projects hackmiester$ date; osascript speed.scpt; date
Thu Sep 21 10:31:46 CDT 2006
Thursday 21 September 2006 10:31:50
Thu Sep 21 10:31:50 CDT 2006
4H630EKCU9B:~/Projects hackmiester$ date; osascript speed.scpt; date
Thu Sep 21 10:32:03 CDT 2006
Thursday 21 September 2006 10:32:4
Thu Sep 21 10:32:04 CDT 2006
4H630EKCU9B:~/Projects hackmiester$ date; osascript speed.scpt; date
Thu Sep 21 10:32:14 CDT 2006
Thursday 21 September 2006 10:32:14
Thu Sep 21 10:32:14 CDT 2006
On my Power Mac G4:
chorale:~ araue$ date; osascript speed.scpt; date
Thu Sep 21 10:35:02 CDT 2006
Thursday, September 21, 2006 10:35:10 AM
Thu Sep 21 10:35:10 CDT 2006
chorale:~ araue$ date; osascript speed.scpt; date
Thu Sep 21 10:35:12 CDT 2006
Thursday, September 21, 2006 10:35:17 AM
Thu Sep 21 10:35:17 CDT 2006
chorale:~ araue$ date; osascript speed.scpt; date
Thu Sep 21 10:35:24 CDT 2006
Thursday, September 21, 2006 10:35:29 AM
Thu Sep 21 10:35:29 CDT 2006
As you can see, it got faster each time I ran it. On the G4, though,
it was not exactly a speed demon... but it is only 400mHz, give it a
break! :-)
<snip snip>
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.
Oh wow, that's odd... I don't know what to say, I can only give you
my results.
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 _______________________________________________
--
hackmiester (Hunter Fuller)
<svinx> yknow when you go to a party, and everyones hooked up except
one guy and one girl
<svinx> and so they look at each other like.. do we have to?
<svinx> intel & nvidia must be lookin at each other like that right now
Phone
Voice: +1 251 589 6348
Fax: Call the voice number and ask.
Email
General chat: email@hidden
Large attachments: email@hidden
SPS-related stuff: email@hidden
IM
AIM: hackmiester1337
Skype: hackmiester31337
YIM: hackm1ester
Gtalk: hackmiester
MSN: email@hidden
Xfire: hackmiester
_______________________________________________
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