init.el
changeset 1688 0bab53c47567
parent 1687 3f69332472cb
child 1711 621215ccccf9
--- a/init.el	Sat Jan 02 22:42:24 2021 +0200
+++ b/init.el	Sat Jan 02 23:11:23 2021 +0200
@@ -16,6 +16,9 @@
 (load my-lisp-auth t)
 (load my-lisp-pre)
 
+(when my-profiler-enabled
+  (profiler-start 'cpu))
+
 (my-lisp--load-usr-home)
 
 ;; (setq package-enable-at-startup t)
@@ -26,3 +29,6 @@
 (load my-lisp-dotemacs t)
 (load my-lisp-post t)
 
+(when my-profiler-enabled
+  (profiler-report)
+  (profiler-stop))