• 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: NSAppleScript init is really, really slow when attached to gdb?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAppleScript init is really, really slow when attached to gdb?


  • Subject: Re: NSAppleScript init is really, really slow when attached to gdb?
  • From: Daniel Jalkut <email@hidden>
  • Date: Wed, 14 Dec 2005 13:31:53 -0500

Jonathan - what you're seeing sounds like it could be similar to behavior I saw for some time several weeks ago. In my case, the extreme slowness seemed ultimately due to extremely bad file system performance on the particular libraries being read in. I could never get to the bottom of it, but then one day *poof* the problem went away.

Not great advice, but it "might get better." :)

Daniel

On Dec 13, 2005, at 7:25 PM, Uli Kusterer wrote:


Am 13.12.2005 um 16:59 schrieb Jonathan del Strother:
If gdb is attached, however, it takes more like 10 seconds, and sometimes much longer. In the meantime, gdb dumps about 50 lines of "Reading symbols for shared libraries....." to the console.

This usually simply means that the framework containing that class (or used by that class) hasn't been loaded yet and is lazy-loaded now that you're first using it. Maybe Apple added debug symbols to the AppleScript-related frameworks in a recent system update?

You should only get this speed-hit the first time through the constructor, though, as then the frameworks should be loaded.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >NSAppleScript init is really, really slow when attached to gdb? (From: Jonathan del Strother <email@hidden>)
 >Re: NSAppleScript init is really, really slow when attached to gdb? (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: NSXMLParser useless with HUGE files
  • Next by Date: Re: NSXMLParser useless with HUGE files
  • Previous by thread: Re: NSAppleScript init is really, really slow when attached to gdb?
  • Next by thread: Trapping Keystrokes
  • Index(es):
    • Date
    • Thread