Trace keyword
:allocation form
nil, this prints the memory allocation, in bytes, made during a function call. The symbol that form evaluates to is used to accumulate the amount of memory allocated between entering and exiting the traced function. Consider the example below:
fac function, set the value of:allocation to$$fac-alloc. fac, and then examine the value of$$fac-alloc. CL-USER 152 > $$fac-alloc 744