All Manuals > LispWorks IDE User Guide > 22 The Profiler > 22.7 Profiling pitfalls

NextPrevUpTopContentsIndex

22.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 (Macintosh version) - 25 Nov 2011

NextPrevUpTopContentsIndex