by toxik · 4y ago · 0 comments
I suppose you could do it by sampling, then you actually just have to look at the sample distribution, though that would show you the graph weighted by cumulative execution times per routine.
As they say though, never let perfect be the enemy of good. Neat idea.
Counting references is clearly a compromise here. To see its drawbacks, consider indirection and dynamism.
You're not, strictly speaking, wrong. But the methodology is already known to be deeply compromised, so your objection is kind of out there.
Not everything is an argumentation.