23.4 Steps involved in profiling code

Each time you profile code, you first need to set up the profiler to ensure that you find out the sort of information you are interested in. This section gives you details about how to go about this.

The steps that you need to take when profiling code are as follows:

  1. Choose which functions you want to profile.
  2. Specify the code that you want to run while profiling.
  3. Perform the profile.

Note: You do not have to adhere strictly to the sequence shown above, but this is the order that you should usually follow.

See the chapter on the Profiler in the LispWorks User Guide for information on advanced configuration of the profiler.

23.4.1 Choosing the functions to profile

23.4.2 Choosing the time interval

23.4.3 Specifying the code to run while profiling

23.4.4 Performing the profile

Common LispWorks User Guide (Unix version) - 21 Feb 2008