• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScript running under Cocoa - major speed issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript running under Cocoa - major speed issue


  • Subject: Re: AppleScript running under Cocoa - major speed issue
  • From: Alastair Houghton <email@hidden>
  • Date: Sat, 20 Oct 2007 22:50:11 +0100

On 20 Oct 2007, at 16:46, Steve Cronin wrote:

The Cocoa app has a compiled AppleScript which I call into for the various handlers with the parameters I need.
This is working well in every other case.

[snip]

However I have a case where it is taking 25 seconds to execute a single AppleScript statement!
This same statement has sub-second response when executed in the Script editor.
If I simulate the Cocoa calls with various handlers in the Script Editor everything is fine - performance is fine!

Have you tried using Shark to see exactly what your machine is doing during those 25 seconds? It might be enlightening.


Kind regards,

Alastair.

--
http://alastairs-place.net




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: AppleScript running under Cocoa - major speed issue - SOLVED
      • From: Steve Cronin <email@hidden>
References: 
 >AppleScript running under Cocoa - major speed issue (From: Steve Cronin <email@hidden>)

  • Prev by Date: Re: AppleScript running under Cocoa - major speed issue
  • Next by Date: Re: Best design pattern for un-archiving instances of shared resources?
  • Previous by thread: AppleScript running under Cocoa - major speed issue
  • Next by thread: Re: AppleScript running under Cocoa - major speed issue - SOLVED
  • Index(es):
    • Date
    • Thread