12.3.1 Using the macro profile

To profile your Lisp forms enter:

(profile <forms>)

This evaluates the forms as an implicit progn and prints the results, according to the parameters established by set-up-profiler .

Note: you cannot use profile (or the graphical Profiler tool) after a call to start-profiling and before a call to stop-profiling with print t , because the two profiling modes are incompatible.

LispWorks User Guide - 11 Mar 2008