diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/debugging.texi | 3 |
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 | |||
| 983 | responsible for a significant portion of the execution time, you can | 983 | responsible for a significant portion of the execution time, you can |
| 984 | start looking for ways to optimize that piece. | 984 | start looking for ways to optimize that piece. |
| 985 | 985 | ||
| 986 | @findex profiler-start | ||
| 987 | @findex profiler-report | ||
| 988 | @findex profiler-stop | ||
| 986 | Emacs has built-in support for this. To begin profiling, type | 989 | Emacs 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 |
| 988 | usage, memory usage, or both. Then run the code you'd like to speed | 991 | usage, memory usage, or both. Then run the code you'd like to speed |