KarimAziev / profiler-extra

Extends Native Emacs profiler.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

KeyCommand
sToggle sorting
tabToggle collapsing whole entry
backtabToggle 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.

About

Extends Native Emacs profiler.

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 100.0%