Read up on Instruments.
http://developer.apple.com/tools/performance/

On 8 Dec 2009, at 23:57, PCWiz wrote:

> Sorry I'm new to Obj-C/Cocoa, how would I do this performance profiling?
> 
> On 2009-12-08, at 4:50 PM, Mike Abdullah wrote:
> 
>> 
>> On 8 Dec 2009, at 23:40, PCWiz wrote:
>> 
>>> Hi,
>>> 
>>> I am using NSCollectionView for a project in which the collection view is 
>>> populated with about 200 items, each containing about 4 subviews (image 
>>> view, and a few text fields).
>>> 
>>> Scrolling is not smooth at all, and lags quite a bit. I'm wondering, would 
>>> just drawing the text and images as part of the view in the prototype views 
>>> drawRect method yield any increase in smoothness, rather than using 
>>> subviews?
>> 
>> Why are you asking us this now? It sounds like you haven't done any 
>> performance profiling to find out what's actually slow. Do that and then 
>> come back.
>> 
>> If it suits your needs, IKImageBrowserView is somewhat faster than 
>> NSCollectionView.
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net
> 
> This email sent to cocoa...@mikeabdullah.net

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to