yil*_*yin 12 performance common-lisp
我写了一个common-lisp程序,它比它需要的慢.现在我想分析我的代码,看看我的时间在哪里.有没有人用的工具?
dan*_*lei 12
如果您正在使用SLIME,那么您可以使用一些分析命令time以及特定于实现的工具.
time
使用M-x slime-toggle-profile-fdefinition一个(不)轮廓特定的功能,M-x slime-profile-report以显示结果,并M-x slime-profile-reset进行复位.
M-x slime-toggle-profile-fdefinition
M-x slime-profile-report
M-x slime-profile-reset
Mir*_*anu 11
如果你正在使用SBCL,可以使用一个简洁的统计分析器 - http://www.sbcl.org/manual/Statistical-Profiler.html.
对于简单的测量,您可以使用time,这在所有Common Lisp实现中都可用.
归档时间:
13 年,4 月 前
查看次数:
1777 次
最近记录: