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: Paul Berkowitz <email@hidden>
- Date: Wed, 20 Sep 2006 12:07:27 -0700
- Thread-topic: AppleScript runs slow on Intel Mac's
On 9/20/06 11:12 AM, "Leif Öquist" <email@hidden> wrote:
>
> AppleScript seems to run at considerably slower speeds in the new Intel
> Mac's compared to comparably equipped G4 or G5's.
>
> I did a small survey on my local MacWorld discussion forum. About half
> a dozen of the users runned a simple Finder AppleScript provided by me
> on their machines. The results showed that the Intel Mac's where much
> slower (in the worst case, about 25 times) than older machines of
> reasonably comparable Mhz and RAM.
>
> Does anyone know the cause of this problem? Or better: can anyone
> suggest a remedy? I would love to switch to an Intel Mac, but I feel
> strongly prevented at the moment as I need AS running at good speeds.
What are the scripts scripting? If they are directed at PPC applications,
then they will run more slowly, under Rosetta, whether or not they are
packaged up as .scpt files, (Carbon) applications, or Bundle Applications.
If they are directed at Universal apps and/or system things, then package
them as Bundle Applications, which are Universal and will run much faster.
(Carbon) Application files will, I think, run more slowly although I'm not
100% certain of that: they may only launch more slowly, which is not a big
deal.
[If your scripts use any 3rd-party scripting addition (i.e. anything other
than Standard Additions), then you _must_ have the appropriate architecture
osax: PPC osaxen will not work at all on Intel, nor Intel osaxen on PPC. If
you do use one of these, the advantage of Bundle Apps is that you can
include the osax as a resource within the bundle: the user does not need to
install it elsewhere. This applies for both PPC and Intel, but you might
need separate releases for each, at least if the osax is named the same for
both versions. I haven't tried having both in one bundle.]
--
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:
This email sent to email@hidden