IMHO both tools have their up/downsides.
- instrumentation gives you a quite precise _relative_ performance
indicator
- sampling gives a _relatively precise_ performance indicator
both have impact on the runtime, so you always have to account for the
"uncertainty principle" :-)
Am 29.01.2013 23:33, schrieb Stuart Douglas:
Tracing is pretty useless at identifying slow parts, as the overhead
it
adds distorts the profile too much. The only thing it is really good for
is identifying methods that are called too often.
Sampling is generally much better.