• 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: What's wrong with this code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's wrong with this code?


  • Subject: Re: What's wrong with this code?
  • From: James Bucanek <email@hidden>
  • Date: Thu, 6 Apr 2006 08:14:09 -0700

Larry Fransson wrote on Thursday, April 6, 2006:
>I'd like to know what's wrong with this.  It seems to work the way I
>want it to, which makes me happy.  Is it just a problem of scaling?
>It works great on the few test records I have, but when I get to a
>couple thousand, is it likely to get really slow?  Or is there some
>other thing that I'm likely to be breaking?

One of the oft-repeated mistakes of preformance tuning is trying to fix what isn't broken.

You tell us if there's a problem. Run your application with a "couple thousand" records and determine if the performance is acceptable. If not, use Shark and ObjectAlloc to look for performance bottlenecks and memory leaks. But if you have code that works, don't waste time looking for performance problems which might not exist.

If you're just curious, set up a test case with a heavy load and run is using Shark. It will tell you far more about the relative performance of your code than anyone here can.

--
James Bucanek
 _______________________________________________
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

References: 
 >What's wrong with this code? (From: Larry Fransson <email@hidden>)

  • Prev by Date: Re: Programmatic web form fill-in?
  • Next by Date: RE: "Quartz composer-like" interface (daniel)
  • Previous by thread: What's wrong with this code?
  • Next by thread: Major Nubie : adding ints get strange values?
  • Index(es):
    • Date
    • Thread