1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-18 20:10:31 -07:00

(Compilation Tips): Mention benchmark.el.

This commit is contained in:
Richard M. Stallman 2005-03-28 21:11:28 +00:00
parent 1d74851280
commit 6b7abae0d0

View file

@ -451,6 +451,13 @@ Lisp programs.
Profile your program with the @file{elp} library. See the file
@file{elp.el} for instructions.
@item
@cindex @file{benchmark.el}
@cindex benchmarking
Check the speed of individual Emacs Lisp forms using the
@file{benchmark} library. See the functions @code{benchmark-run} and
@code{benchmark-run-compiled} in @file{benchmark.el}.
@item
Use iteration rather than recursion whenever possible.
Function calls are slow in Emacs Lisp even when a compiled function