Re: What's wrong with this code?
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