Improve profiler popup integration

Following profiler links will open in different window; also displays
CPU/Memory reports side by side.
This commit is contained in:
Henrik Lissner 2019-03-13 19:20:37 -04:00
parent 1e1f725a55
commit 9b1b75f947
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 11 additions and 1 deletions

View file

@ -159,7 +159,9 @@ prevent the popup(s) from messing up the UI (or vice versa)."
;; `Info-mode'
("^\\*info\\*$"
:slot 2 :vslot 2 :size 0.45 :select t)))
'(("^\\*Backtrace" :vslot 99 :size 0.4 :quit nil)))
'(("^\\*Backtrace" :vslot 99 :size 0.4 :quit nil)
("^\\*CPU-Profiler-Report " :side bottom :vslot 100 :slot 1 :height 0.4 :width 0.5 :quit nil)
("^\\*Memory-Profiler-Report " :side bottom :vslot 100 :slot 2 :height 0.4 :width 0.5 :quit nil)))
(add-hook 'doom-init-ui-hook #'+popup-mode :append)