• 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: Reboot? Slow First Run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reboot? Slow First Run


  • Subject: Re: Reboot? Slow First Run
  • From: Mike Abdullah <email@hidden>
  • Date: Thu, 3 Dec 2009 12:33:35 +0000

On 3 Dec 2009, at 11:47, gMail.com wrote:

> Hi,
> my app executes a given task in 1.2 seconds, all the time. I can quit the
> application, relaunch it, run the same task several times and it always
> takes 1.2 seconds.
> But if I reboot the machine, I launch the application and run the same task
> for the first time, it takes 13 seconds! This problem occurs at any reboot.
> Then if I run the task again it always takes 1.2 seconds.
>
> What do I miss?
> The task simply calls contentsOfDirectoryAtPath then reads all the 10,000
> files (<=2 kb each) and put the contents into an array.
> I can show my code, if necessary.

Have you done any performance profiling yet? Instruments is your friend.
_______________________________________________

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

References: 
 >Reboot? Slow First Run (From: "gMail.com" <email@hidden>)

  • Prev by Date: Reboot? Slow First Run
  • Next by Date: Re: Application crashing on iPod Touch, not on iPhone
  • Previous by thread: Reboot? Slow First Run
  • Next by thread: RE: Reboot? Slow First Run
  • Index(es):
    • Date
    • Thread