# HG changeset patch # User Oleksandr Gavenko # Date 1609607713 -7200 # Node ID 2952c3c11261bad6d08cba528d46354e9d26abd4 # Parent 08f7fd3c4d5bf4fd578c466541239426c88238ed Added a code example helping profiling of startup. diff -r 08f7fd3c4d5b -r 2952c3c11261 .emacs-post --- 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) + diff -r 08f7fd3c4d5b -r 2952c3c11261 .emacs-pre --- 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) +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +