Adds some profiling keybinding under `SPC h P`

This commit is contained in:
Codruț Constantin Gușoi 2017-07-26 20:25:51 +03:00
parent 83f2fd4d22
commit 390462e36d
2 changed files with 16 additions and 1 deletions

View File

@ -1851,6 +1851,16 @@ Other help key bindings:
| ~SPC h m~ | search available man pages |
| ~SPC h n~ | browse emacs news |
The =Profiler= is a tool that helps you identify why your editor is running
slowly or consumes a lot of memory. Here are key bindings relate to it:
| Key Binding | Description |
|-------------+-----------------------------|
| ~SPC h P k~ | stop the profiler |
| ~SPC h P r~ | display the profiler report |
| ~SPC h P s~ | start the profiler |
| ~SPC h P w~ | write the report to file |
Navigation key bindings in =help-mode=:
| Key Binding | Description |

View File

@ -32,6 +32,7 @@
("g" "git/versions-control")
("h" "help")
("hd" "help-describe")
("hP" "profiler")
("i" "insertion")
("j" "jump/join/split")
("k" "lisp")
@ -241,7 +242,11 @@
"hdt" 'describe-theme
"hdv" 'describe-variable
"hI" 'spacemacs/report-issue
"hn" 'view-emacs-news)
"hn" 'view-emacs-news
"hPs" 'profiler-start
"hPk" 'profiler-stop
"hPr" 'profiler-report
"hPw" 'profiler-report-write-profile)
;; insert stuff ---------------------------------------------------------------
(spacemacs/set-leader-keys
"iJ" 'spacemacs/insert-line-below-no-indent