3 ms·
I'm a very big fan of using sbcl's (sb-profile:profile function1 function2) (sb-profile:report) and (sb-profile:reset) and finally (sb-profile:unprofile) For
by gibsonf1 4y ago
I'm a very big fan of using sbcl's (sb-profile:profile function1 function2) (sb-profile:report) and (sb-profile:reset) and finally (sb-profile:unprofile)
For large production systems that may be running some functions millions to billions of times during a given process, the profiler is amazing for reporting how many times each function ran, how long each run took and the ranking from top to bottom of slowest to fastest enabling finding and fixing the slowest functions and achieving incredible application efficiency gains.