mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-18 12:00:38 -07:00
(Compilation Tips): Mention benchmark.el.
This commit is contained in:
parent
1d74851280
commit
6b7abae0d0
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue