• 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
performance tuning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

performance tuning


  • Subject: performance tuning
  • From: Tobias Klüpfel <email@hidden>
  • Date: Tue, 23 Mar 2004 10:45:49 +0100

Hi list,

I have this app, and it's supposed to do something twenty times per
second.

However, I'm not sure it does. How should I be able to tell if it fires
nineteen times only - the difference would be so insignificant as to be
unnoticeable.

I tried the two performance tools which seemed sensible, Sampler and
Shark, but they just grab a sample every millisecond or so, so they can
tell me how long my app spends in the critical function (55.0%), but
that still doesn't tell me whether it spends those percents on 19 or 20
iterations.

I've given some thought to the matter whether one might be able to
infer if it's doing all it should from the fact that it's not spending
99% or more in the loop.

However, again I'm not sure. If NSTimer ticks stack up, then my app
really is processing every one. I found nothing in the docs, which
supposedly means they do stack up.

Please tell me:
1. Do they really?
2. What tool should I use to determine whether my app really fires 20
times out of 20?

Regards,
Tobias Kl|pfel

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: performance tuning
      • From: John Ashley Burgoyne <email@hidden>
    • Re: performance tuning
      • From: Allan Odgaard <email@hidden>
  • Prev by Date: Re: NSRegion
  • Next by Date: Re: copyPath:toPath:handler: sometimes it works, sometimes it does not?
  • Previous by thread: Re: How to define a method IMP for use as a C callback?
  • Next by thread: Re: performance tuning
  • Index(es):
    • Date
    • Thread