profiler-extra
Extra commands For Native Profiler.
Installation
Emacs >= 28.1 is required.
Manual
Download the source code and put it wherever you like, e.g. into ~/.emacs.d/profiler-extra/
git clone https://github.com/KarimAziev/profiler-extra.git ~/.emacs.d/profiler-extra/
Add the downloaded directory to the load path:
(add-to-list 'load-path "~/.emacs.d/profiler-extra/")
(require 'profiler-extra)
(use-package profiler-extra
:straight (profiler-extra
:repo "KarimAziev/profiler-extra"
:type git
:host github)
:bind (("<f5>" . profiler-extra-menu)
(:map profiler-extra-map
("." . profiler-extra-menu)
("s" . profiler-extra-toggle-sorting)
("C-." . profiler-extra-menu)
("C-h ?" . profiler-extra-menu)
([tab] . profiler-extra-toggle-tree-entry)
([backtab] . profiler-extra-toggle-all-entries)))
:hook (profiler-report-mode . profiler-extra-buffer-mode))
Minor mode
profiler-extra-buffer-mode
Add commands and transient menus to profiler-report-mode
.
Key | Command |
---|---|
s | Toggle sorting |
tab | Toggle collapsing whole entry |
backtab | Toggle collapsing whole entries |
. | Show transient menu |
C-. | Show transient menu |
C-h ? | Show transient menu |
Customization
profiler-extra-reset-after-report
Non-nil means reset all profiling info after results are displayed. Results are displayed with the profiler-extra-toggle
command.