diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-03-17 19:04:28 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-03-17 19:04:28 -0400 |
commit | 82c3bd1e4a58f6fefcb7d69b6e04013bd86f54be (patch) | |
tree | 183c0845052e3d8a51c80e429b6333471a251b36 /doc/lispref/debugging.texi | |
parent | 3cd3f230c924e5a095f37ea9c6ea6f9f6c5cf473 (diff) | |
download | emacs-82c3bd1e4a58f6fefcb7d69b6e04013bd86f54be.tar.gz |
* lisp/emacs-lisp/benchmark.el (benchmark-call): New function
(benchmark-run, benchmark-run-compiled, benchmark): Use it.
(benchmark--adaptive): New internal function.
Diffstat (limited to 'doc/lispref/debugging.texi')
-rw-r--r-- | doc/lispref/debugging.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index 8e4b0ebfe96..de98d2206e2 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi @@ -1041,7 +1041,8 @@ functions written in Lisp, it cannot profile Emacs primitives. @cindex @file{benchmark.el} @cindex benchmarking You can measure the time it takes to evaluate individual Emacs Lisp -forms using the @file{benchmark} library. See the macros +forms using the @file{benchmark} library. See the function +@code{benchmark-call} as well as the macros @code{benchmark-run}, @code{benchmark-run-compiled} and @code{benchmark-progn} in @file{benchmark.el}. You can also use the @code{benchmark} command for timing forms interactively. |