15.1 Deterministic Profiler
sb-profile provides a classic, per-function-call
— Macro: sb-profile:profile &rest names
If no names are supplied, return the list of profiled functions.
If names are supplied, wrap profiling code around the named functions.
trace, the names are not evaluated. A symbol names a function.
A string names all the functions named by symbols in the named
package. If a function is already profiled, then unprofile and
reprofile (useful to notice function redefinition.) If a name is
undefined, then we give a warning and ignore it. See also
— Macro: sb-profile:unprofile &rest names
Unwrap any profiling code around the named functions, or if no names
are given, unprofile all profiled functions. A symbol names
a function. A string names all the functions named by symbols in the
names defaults to the list of names of all currently
— Function: sb-profile:report
Report results from profiling. The results are approximately adjusted
for profiling overhead. The compensation may be rather inaccurate when
bignums are involved in runtime calculation, as in a very-long-running
— Function: sb-profile:reset
Reset the counters for all profiled functions.