summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/benchmark.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-02-17 11:59:36 +0200
committerEli Zaretskii <eliz@gnu.org>2018-02-17 11:59:36 +0200
commitd8917eba1c683d7e4fdbfc38ab52c7bc0025bdc6 (patch)
tree9aafabf49bfe30d8b44efc2e864291e0d168e3b1 /lisp/emacs-lisp/benchmark.el
parentb228839af18c730d25df8755b8c2e45cccd9ce36 (diff)
downloademacs-d8917eba1c683d7e4fdbfc38ab52c7bc0025bdc6.tar.gz
Improve documentation of Profiling features
* doc/lispref/debugging.texi (Profiling): Improve the description of elp.el. Improve wording of the rest of the section. (Bug#30491) * lisp/emacs-lisp/elp.el (elp-instrument-list): Make the interactive invocation work. Doc fix.
Diffstat (limited to 'lisp/emacs-lisp/benchmark.el')
-rw-r--r--lisp/emacs-lisp/benchmark.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/benchmark.el b/lisp/emacs-lisp/benchmark.el
index 589e76eaec0..d74446c7479 100644
--- a/lisp/emacs-lisp/benchmark.el
+++ b/lisp/emacs-lisp/benchmark.el
@@ -98,7 +98,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.
+Interactively, REPETITIONS is taken from the prefix arg, and
+the command prompts for the form to benchmark.
For non-interactive use see also `benchmark-run' and
`benchmark-run-compiled'."
(interactive "p\nxForm: ")