From: Richard M. Stallman Date: Mon, 28 Mar 2005 21:11:28 +0000 (+0000) Subject: (Compilation Tips): Mention benchmark.el. X-Git-Tag: ttn-vms-21-2-B4~1423 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6b7abae0d005704f456671b8fa571ce4ca3aeb15;p=emacs.git (Compilation Tips): Mention benchmark.el. --- diff --git a/lispref/tips.texi b/lispref/tips.texi index c029ee1d451..538affd7450 100644 --- a/lispref/tips.texi +++ b/lispref/tips.texi @@ -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