From 6b7abae0d005704f456671b8fa571ce4ca3aeb15 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 28 Mar 2005 21:11:28 +0000 Subject: [PATCH] (Compilation Tips): Mention benchmark.el. --- lispref/tips.texi | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.39.2