comparison lispref/tips.texi @ 90133:4da4a09e8b1b

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-31 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 206-222) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 45-52) - Update from CVS - Update from CVS: texi Makefile.in CVS keyw cruft - Update from CVS: ChangeLog tweaks
author Miles Bader <miles@gnu.org>
date Thu, 31 Mar 2005 09:58:14 +0000
parents e4694597cbf4 0b041af08b4a
children f042e7c0fe20
comparison
equal deleted inserted replaced
90132:4080fe8b4f0f 90133:4da4a09e8b1b
448 @cindex profiling 448 @cindex profiling
449 @cindex timing programs 449 @cindex timing programs
450 @cindex @file{elp.el} 450 @cindex @file{elp.el}
451 Profile your program with the @file{elp} library. See the file 451 Profile your program with the @file{elp} library. See the file
452 @file{elp.el} for instructions. 452 @file{elp.el} for instructions.
453
454 @item
455 @cindex @file{benchmark.el}
456 @cindex benchmarking
457 Check 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}.
453 460
454 @item 461 @item
455 Use iteration rather than recursion whenever possible. 462 Use iteration rather than recursion whenever possible.
456 Function calls are slow in Emacs Lisp even when a compiled function 463 Function calls are slow in Emacs Lisp even when a compiled function
457 is calling another compiled function. 464 is calling another compiled function.