Add tests for heapsort
[sbcl.git] / doc / manual / profiling.texinfo
blobcedb93b13ce009743ac108ae4d4addd7f42fa3f6
1 @node Profiling
2 @comment  node-name,  next,  previous,  up
3 @chapter Profiling
4 @cindex Profiling
6 SBCL includes both a deterministic profiler, that can collect statistics
7 on individual functions, and a more ``modern'' statistical profiler.
9 Inlined functions do not appear in the results reported by either.
11 @menu
12 * Deterministic Profiler::
13 * Statistical Profiler::
14 @end menu
16 @node Deterministic Profiler
17 @comment  node-name,  next,  previous,  up
18 @section Deterministic Profiler
19 @cindex Profiling, deterministic
21 The package @code{sb-profile} provides a classic, per-function-call
22 profiler.
24 @quotation note
25 When profiling code executed by multiple threads in parallel, the
26 consing attributed to each function is inaccurate.
27 @end quotation
29 @include macro-sb-profile-profile.texinfo
30 @include macro-sb-profile-unprofile.texinfo
31 @include fun-sb-profile-report.texinfo
32 @include fun-sb-profile-reset.texinfo
34 @node Statistical Profiler
35 @comment  node-name,  next,  previous,  up
36 @section Statistical Profiler
37 @include sb-sprof/sb-sprof.texinfo