From 9d613444994a2e5827c23e8c0a5e2a975903764f Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Tue, 28 Aug 2018 07:49:49 -0400 Subject: [PATCH] Index profiler commands in elisp manual * doc/lispref/debugging.texi (Profiling): Add index entries for profiler-start, profiler-report, profiler-stop. --- doc/lispref/debugging.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index fdd92a3780e..cbf8778ca8b 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi @@ -930,6 +930,9 @@ the execution time. If you find that one particular function is responsible for a significant portion of the execution time, you can start looking for ways to optimize that piece. +@findex profiler-start +@findex profiler-report +@findex profiler-stop Emacs has built-in support for this. To begin profiling, type @kbd{M-x profiler-start}. You can choose to profile by processor usage, memory usage, or both. Then run the code you'd like to speed -- 2.39.5