Cocoa application running very slow under 64 bit
Cocoa application running very slow under 64 bit
- Subject: Cocoa application running very slow under 64 bit
- From: Frank Illenberger <email@hidden>
- Date: Thu, 11 Sep 2008 10:44:11 +0200
Hi there,
I migrated an existing cocoa application to run under x86_64 with
Xcode 3.1 / Mac OS 10.5.4. The app still runs fine under 32 bit but
when started in x86_64 mode, it runs about 3-4 times slower.
A shark profile reveals the following hot traces:
8.9% libgcc_s.1.dylib _Unwind_GetIPInfo
7.6% libgcc_s.1.dylib _Unwind_GetIPInfo
7.6% libgcc_s.1.dylib _Unwind_Backtrace
7.6% libobjc.A.dylib objc_addExceptionHandler
7.5% Unknown Library _CFDoExceptionOperation
7.2% Unknown Library _NSAppKitLock
1.5% Unknown Library -[NSView nextKeyView]
1.2% Unknown Library -[NSView _primitiveSetNextKeyView:]
0.8% Unknown Library +[NSControl cellClass] [unknown]
0.7% Unknown Library -[NSCell setMnemonicLocation:]
0.6% Unknown Library SetPlaceholderString
0.5% Unknown Library -[NSView previousKeyView]
0.2% Unknown Library -[NSControl
_setControlTextDelegateFromOld:toNew:]
These hot traces do not show up when I profile the app running under
32 bit.
Does anybody know why a 64 bit app could be spending so much time in
these methods?
Cheers
Frank
_______________________________________________
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