aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-03-28 21:11:28 +0000
committerRichard M. Stallman2005-03-28 21:11:28 +0000
commit6b7abae0d005704f456671b8fa571ce4ca3aeb15 (patch)
tree27a5f740e2f5d535e3e98458436514f990c00bfe
parent1d7485128080719d798c2865aea75f20b3cf850d (diff)
downloademacs-6b7abae0d005704f456671b8fa571ce4ca3aeb15.tar.gz
emacs-6b7abae0d005704f456671b8fa571ce4ca3aeb15.zip
(Compilation Tips): Mention benchmark.el.
-rw-r--r--lispref/tips.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/lispref/tips.texi b/lispref/tips.texi
index c029ee1d451..538affd7450 100644
--- a/lispref/tips.texi
+++ b/lispref/tips.texi
@@ -452,6 +452,13 @@ Profile your program with the @file{elp} library. See the file
452@file{elp.el} for instructions. 452@file{elp.el} for instructions.
453 453
454@item 454@item
455@cindex @file{benchmark.el}
456@cindex benchmarking
457Check the speed of individual Emacs Lisp forms using the
458@file{benchmark} library. See the functions @code{benchmark-run} and
459@code{benchmark-run-compiled} in @file{benchmark.el}.
460
461@item
455Use iteration rather than recursion whenever possible. 462Use iteration rather than recursion whenever possible.
456Function calls are slow in Emacs Lisp even when a compiled function 463Function calls are slow in Emacs Lisp even when a compiled function
457is calling another compiled function. 464is calling another compiled function.