Next Prev Up Top Contents Index

9.4 Interpretation of profiling results

The most important figures are the number of times a function was called along with the amount of time it was found on top of the stack. Just because a function is found on the stack does not mean that it using up much processing time, but if it is found consistently on the top of the stack then it is likely that this function has a significant execution time. Similarly functions that are called most often are likely to have the most significant effect on the program as a whole.

It must be remembered that the numbers produced are from random samples and thus it is important to be careful in interpreting their meaning. The rate of sampling is always coarse in comparison to the function call rate and so it is possible for strange effects to occur and significant events to be missed. For example, "resonance" may occur when an event always occurs between regular sampling times, though in practice this does not appear to be a problem.


LispWorks User Guide - 18 Feb 2003

Next Prev Up Top Contents Index