diff options
| author | Craig Jennings <c@cjennings.net> | 2025-10-20 06:50:18 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-10-20 06:50:18 -0500 |
| commit | 63580747d77860fd10ab717236298e56a45f560e (patch) | |
| tree | a83577410c81b16dbb77e1868a8be701f9a1c77b | |
| parent | e6541e1ecbdd9a8d7e34bd363057e07aa815361e (diff) | |
| download | dotemacs-63580747d77860fd10ab717236298e56a45f560e.tar.gz dotemacs-63580747d77860fd10ab717236298e56a45f560e.zip | |
test: adding disabled benchmarking code for performance testing
| -rw-r--r-- | early-init.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/early-init.el b/early-init.el index 52cfafed1..7809f54e9 100644 --- a/early-init.el +++ b/early-init.el @@ -34,6 +34,14 @@ ;;; Code: +;; ---------------------------- Benchmark Init Setup --------------------------- +;; Comprehensive startup profiling (run M-x benchmark-init/show-durations-tree) +;; To disable profiling, comment out the lines below. +;; Note: Install with M-x package-install RET benchmark-init RET + +;; (when (require 'benchmark-init nil 'noerror) +;; (add-hook 'after-init-hook 'benchmark-init/deactivate)) + ;; -------------------------------- Debug Flags -------------------------------- ;; debugging enabled during Emacs startup. disabled again after Emacs startup. |
