aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.