Added a code example helping profiling of startup.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 02 Jan 2021 19:15:13 +0200
changeset 1676 2952c3c11261
parent 1675 08f7fd3c4d5b
child 1677 bfa894057550
Added a code example helping profiling of startup.
.emacs-post
.emacs-pre
--- a/.emacs-post	Sat Jan 02 18:57:24 2021 +0200
+++ b/.emacs-post	Sat Jan 02 19:15:13 2021 +0200
@@ -21,3 +21,10 @@
 ;;       (list
 ;;        '(".*\\.\\([ch]\\|cpp\\|rc\\)" "c:/Program Files/Microsoft SDKs/Windows/v6.1/Include/TAGS")
 ;;        ))
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; (message "profiler end")
+
+;; (profiler-report)
+;; (profiler-stop)
+
--- a/.emacs-pre	Sat Jan 02 18:57:24 2021 +0200
+++ b/.emacs-pre	Sat Jan 02 19:15:13 2021 +0200
@@ -2,8 +2,18 @@
 ;;
 ;; For load order see README.
 
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; (message "profiler start")
+
+;; (profiler-start 'cpu)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; (message "libs pre-loading")
+
 ;; (require 'etags-select)
 ;; (require 'etags-table)
 
 ;; (require 'jabber)
 
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+