Index profiler commands in elisp manual

* doc/lispref/debugging.texi (Profiling): Add index entries for
profiler-start, profiler-report, profiler-stop.
This commit is contained in:
Noam Postavsky 2018-08-28 07:49:49 -04:00
parent f088817923
commit 9d61344499

View file

@ -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 responsible for a significant portion of the execution time, you can
start looking for ways to optimize that piece. 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 Emacs has built-in support for this. To begin profiling, type
@kbd{M-x profiler-start}. You can choose to profile by processor @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 usage, memory usage, or both. Then run the code you'd like to speed