• 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: Cocoa/Objective-C's Relative Performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa/Objective-C's Relative Performance


  • Subject: Re: Cocoa/Objective-C's Relative Performance
  • From: "Ivan S. Kourtev" <email@hidden>
  • Date: Wed, 12 Jan 2005 16:12:33 -0500

Well, that is sort of what we did and how we found out we need this performance information.

Personally, I also prefer to think in advance about the potential bottlenecks and performance issues in order to avoid unnecessary re-engineering efforts. Granted, Apple's data structures are professionally designed, optimized, and so on...not to mention the convenience of having the work done for you...but I'd rather have some idea (in advance of architecting and writing code) of what I am getting into performance-wise. I suppose there are others out there who may also wonder whether to use third-party libraries or to write their own, especially in these situations in which performance is critical.

--
ivan


On Jan 12, 2005, at 1:58 PM, Sherm Pendley wrote:

On Jan 12, 2005, at 1:26 PM, Ivan S. Kourtev wrote:

I have been [so far unsuccessfully] trying to find out published information regarding the performance of some of the popular Cocoa data structures.

Benchmarks are useless anyway.

First write a version of your app that works. Then profile it with Shark, and optimize wherever that tells you the bottlenecks are. It's pointless to try to guess where bottlenecks *might* be, when it's so easy to determine precisely where they *are*.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org



_______________________________________________ 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
  • Follow-Ups:
    • Re: Cocoa/Objective-C's Relative Performance
      • From: Guy English <email@hidden>
References: 
 >Cocoa/Objective-C's Relative Performance (From: "Ivan S. Kourtev" <email@hidden>)
 >Re: Cocoa/Objective-C's Relative Performance (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: Help please - Service windows won't become 'key'
  • Next by Date: Question about an NSScanner loop
  • Previous by thread: Re: Cocoa/Objective-C's Relative Performance
  • Next by thread: Re: Cocoa/Objective-C's Relative Performance
  • Index(es):
    • Date
    • Thread