diff options
| author | Lars Ingebrigtsen | 2019-10-15 08:19:08 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-10-15 08:19:14 +0200 |
| commit | ddc9837bf48c99c31df397438175afc2f9d3819c (patch) | |
| tree | ee6b48e346a3544e2cdd276a0e54f14285c6ad43 /doc | |
| parent | 7acc621e373ba1371495e15e5e78aa6ce948a9a6 (diff) | |
| download | emacs-ddc9837bf48c99c31df397438175afc2f9d3819c.tar.gz emacs-ddc9837bf48c99c31df397438175afc2f9d3819c.zip | |
Add new macro `benchmark-progn'
* doc/lispref/debugging.texi (Profiling): Mention it.
* lisp/emacs-lisp/benchmark.el (benchmark-progn): New macro.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/debugging.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index 71e767d0a66..b7eca1e50f8 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi | |||
| @@ -1041,9 +1041,9 @@ functions written in Lisp, it cannot profile Emacs primitives. | |||
| 1041 | @cindex benchmarking | 1041 | @cindex benchmarking |
| 1042 | You can measure the time it takes to evaluate individual Emacs Lisp | 1042 | You can measure the time it takes to evaluate individual Emacs Lisp |
| 1043 | forms using the @file{benchmark} library. See the macros | 1043 | forms using the @file{benchmark} library. See the macros |
| 1044 | @code{benchmark-run} and @code{benchmark-run-compiled} in | 1044 | @code{benchmark-run}, @code{benchmark-run-compiled} and |
| 1045 | @file{benchmark.el}. You can also use the @code{benchmark} command | 1045 | @code{benchmark-progn} in @file{benchmark.el}. You can also use the |
| 1046 | for timing forms interactively. | 1046 | @code{benchmark} command for timing forms interactively. |
| 1047 | 1047 | ||
| 1048 | @c Not worth putting in the printed manual. | 1048 | @c Not worth putting in the printed manual. |
| 1049 | @ifnottex | 1049 | @ifnottex |