performance tuning
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.