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:
parent
6fe45af317
commit
e597afcb8b
2 changed files with 11 additions and 7 deletions
|
|
@ -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))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue