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: Slow debugger loading



On May 31, 2006, at 11:01, Chris Espinosa wrote:

As it says in the ZeroLink documentation (http://developer.apple.com/
documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/
Resources/en.lproj/05_08_bs_linking/chapter_35_section_10.html),  it
speeds up the build/launch time in most applications by deferring
much of the linking job to runtime, where it happens as needed.

Depending on the structure of your application and how much code it
needs to load in order to get to the runloop, this can be a big win—
or a big lose.  There are specific issues discussed in the
documentation that take up a lot of time at launch.  Generally, if
launch time under ZeroLink is prohibitively slow, then your launch
time in the normal case is probably slower than it needs to be.

Your choices are to restructure your launch-time code loading to make
ZeroLink useful and make your app faster for end users, or don't use
ZeroLink.

That's not what we see with our app. Like I said, launching the app is slower WITH ZeroLink when it gets to the point of loading scripts (if I remember correctly, it sits and spins a long time on the first call to OSALoad or one of those OSA calls). Without ZeroLink, the debug build launches almost as quickly as the release build, but we have to wait for the link, so it's a lose/lose deal.


Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/


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

This email sent to 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.