283 B
283 B
What is the purpose of Stack Sampling in profiling?
🌳 It captures the context of the call by recording the sequence of calling methods (the call tree), allowing the profiler to break down time spent in higher-level methods into their constituent lower-level calls.