All Manuals > LispWorks IDE User Guide > 24 The Profiler > 24.7 Profiling pitfalls

NextPrevUpTopContentsIndex

24.7.6 Effect of compiler transforms

The compiler may transform some functions such that they are present in the source code but not in the compiled code.

For example, the compiler transforms this source expression:

(member 'x '(x y z) :test #'eq)

into this compiled expression:

(memq 'x '(x y z))

Therefore function memq will appear instead of member in the profile results.

Similarly, you cannot profile inlined functions.


LispWorks IDE User Guide (Unix version) - 25 Nov 2011

NextPrevUpTopContentsIndex