changeset 61056:0b041af08b4a

(Compilation Tips): Mention benchmark.el.
author Richard M. Stallman <rms@gnu.org>
date Mon, 28 Mar 2005 21:11:28 +0000
parents bf4d29c5de63
children 0e16dd096eb2
files lispref/tips.texi
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/tips.texi	Mon Mar 28 21:11:16 2005 +0000
+++ b/lispref/tips.texi	Mon Mar 28 21:11:28 2005 +0000
@@ -452,6 +452,13 @@
 @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
 is calling another compiled function.