2 ms·
"More accurate" is a condensed version of a longer (disclaimer-attached) statement about how I think they're more useful for typical profiling. If you want to
by mhh__ 4y ago
"More accurate" is a condensed version of a longer (disclaimer-attached) statement about how I think they're more useful for typical profiling.
If you want to know the exact ratios of how hot code is, then yes instrumentation can be a godsend, however in my experience most people are simply mislead by them because a naive instrumenting profiler usually does not have enough information to capture the right context (i.e. the call stack).
For most applications profiling is basically just an exercise in proving your own mental model of execution correct, not fine-tuning (initially at least).
https://youtu.be/6TDZa5LUBzY https://youtu.be/6TDZa5LUBzY I gave a talk on this in November.