Profiler

The goal of profiling is to find out the bottlenecks of the program, such as which function consumes most time, which function is called most times etc in order to improve application performance by "fixing" those hot spots.


SBCL has two: `sb-ext:profile' which instruments functions, and the statistical sampling sb-sprof contrib (based on CMUCL work).

(sb-profile:profile function names) (function call) (sb-profile:report)

or

(sb-sprof:with-profiling (:report :graph) (function call))

sb-sprof-ui is an interface to this.


This page is linked from: Wish List  

CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively