Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript runs slow on Intel Mac's



Title: Re: AppleScript runs slow on Intel Mac's
On 9/23/06 12:19 PM, "Leif Öquist" <email@hidden> wrote:

After having added the 'activate' command to Steiner's originally posted code I expected the runtime to be much faster on Steiner's Intel machine, than on my older machine of notable inferior prestanda, not the other way as Michelle Steiner claims happen when we run exactly the same code. That seems to me be the real mystery to solve (as Michelle Steiner writes in her recent posting "2.  Why does inserting "activate" into the code improve it on some Intel Macs, but not on others?").

I would expect it would have something to do with how many other processes are running on your Mac, and most especially how much Free and Inactive RAM you have available. If you're having to page in and out of virtual RAM, it may be that specifying your targeted application to be the active process assigns it priority to whatever active RAM is available while otherwise it has to wait its turn for virtual RAM, whereas if Michelle as lots of active RAM available for all processes it makes almost no difference. Or something along those lines. The same thing probably applies to PPC computers too, although obviously if there are processes running in Rosetta on an Intel app (even processes irrelevant to your script) the situation may well crop up more frequently on the Intel machine.

--
Paul Berkowitz
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >Re: AppleScript runs slow on Intel Mac's (From: Leif Öquist <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.