Profile while executing some forms.
hcl
profile &body forms => results-of-final-form
forms⇩ |
Lisp forms. |
results-of-final-form |
Results of the final form in forms. |
The macro profile
starts the profiler, evaluates forms, stops the profiler, reports the results of the profiling, and then returns the results of the last form in forms.
The profiler is described in 12 The Profiler.
profile
profiles all processes. For better control of this, use start-profiling or do-profiling.
If profile
is invoked before set-up-profiler was ever called, it calls set-up-profiler implicitly without arguments.
profile
cannot be called while another profiling operation is running, either by a parallel call to profile
or start-profiling.
start-profiling
stop-profiling
set-up-profiler
12 The Profiler
11.2 Guidance for control of the memory management system
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35