1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-11 00:30:17 -08:00

* emacs-lisp/benchmark.el (benchmark): Reflow docstring.

This commit is contained in:
Juanma Barranquero 2009-03-17 10:32:20 +00:00
parent 6fe45af317
commit e597afcb8b
2 changed files with 11 additions and 7 deletions

View file

@ -104,8 +104,8 @@ result. The overhead of the `lambda's is accounted for."
;;;###autoload
(defun benchmark (repetitions form)
"Print the time taken for REPETITIONS executions of FORM.
Interactively, REPETITIONS is taken from the prefix arg. For
non-interactive use see also `benchmark-run' and
Interactively, REPETITIONS is taken from the prefix arg.
For non-interactive use see also `benchmark-run' and
`benchmark-run-compiled'."
(interactive "p\nxForm: ")
(let ((result (eval `(benchmark-run ,repetitions ,form))))