aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/debugging.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi
index 9b3ba6cf7ee..89927db21ec 100644
--- a/doc/lispref/debugging.texi
+++ b/doc/lispref/debugging.texi
@@ -983,6 +983,9 @@ the execution time. If you find that one particular function is
983responsible for a significant portion of the execution time, you can 983responsible for a significant portion of the execution time, you can
984start looking for ways to optimize that piece. 984start looking for ways to optimize that piece.
985 985
986@findex profiler-start
987@findex profiler-report
988@findex profiler-stop
986Emacs has built-in support for this. To begin profiling, type 989Emacs has built-in support for this. To begin profiling, type
987@kbd{M-x profiler-start}. You can choose to profile by processor 990@kbd{M-x profiler-start}. You can choose to profile by processor
988usage, memory usage, or both. Then run the code you'd like to speed 991usage, memory usage, or both. Then run the code you'd like to speed