I have an app that is taking an extremely long time to startup and start
responding to requests (5-10 minutes).  It appears to be spending a huge
amount of time in NSBundle.searchAllBundlesForClassWithName, which has the
ominous logging message:

"NSBundle.searchAllBundlesForClassWithName was invoked.
**This affects performance very badly.** "

What causes this method to be invoked?  It seems to be called in other apps
that work fine so I'm not sure if this is important or not.

For the time-being I've worked around the issue by calling
_NSUtilities.setClassForName for a bunch of classes, but I'm not sure why
this is necessary since I'm not doing that in other apps.

And in general this makes me think it would be better to do
_NSUtilities.setClassForName for everything in Wonder for instance - if
there is a performance (startup time) benefit.

John
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to