From 0aa93ee028eed39f5ff9f399b2d3748b4df68c3c Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 20 Oct 2025 06:50:18 -0500 Subject: test: adding disabled benchmarking code for performance testing --- early-init.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'early-init.el') diff --git a/early-init.el b/early-init.el index 52cfafed..7809f54e 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. -- cgit v1.2.3