From: Shuguang Sun <shuguang@gmail.com>
To: Noam Postavsky <npostavs@gmail.com>
Cc: 30731@debbugs.gnu.org
Subject: bug#30731: Slower startup using March (27.0.50) build in windows
Date: Wed, 14 Mar 2018 13:02:39 +0800 [thread overview]
Message-ID: <CACspjXcjS_aRbeuYemWN8RUULL4x9JtELUGvTtjt3e1MdDpZEg@mail.gmail.com> (raw)
In-Reply-To: <87d107xwpp.fsf@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1364 bytes --]
The diff files compares the loading time given package initialized early or
late. And I attached a list of packages I installed.
On Wed, Mar 14, 2018 at 9:38 AM, Noam Postavsky <npostavs@gmail.com> wrote:
> Shuguang Sun <shuguang@gmail.com> writes:
>
> > The trace-log from package-earlyload has less
> > do-after-load-evaluation items which are supposed to be loaded during
> > the package-initialize. However, it still takes longer time for
> > custom-set-variables during early package initialization.
> > The two items, mail-prsvr.elc and mm-util.elc are in earlyload but
> > not in lateload.
>
> Hmm, somehow that was not so informative as I'd have hoped. Maybe
> measuring each setting individually would give more info, try this:
>
> (require 'pcase)
>
> (defmacro split-custom-set-variables (cset-form)
> (pcase cset-form
> (`(custom-set-variables . ,entries)
> `(progn
> ,@(mapcar
> (pcase-lambda (`(quote (,sym . ,args)))
> `(let ((t0 (current-time))
> (tf nil))
> (custom-set-variables (quote (,sym . ,args)))
> (setq tf (current-time))
> (message "setting `%s': %.3fs" ',sym
> (float-time (time-subtract tf t0)))))
> entries)))))
>
> (split-custom-set-variables
> (custom-set-variables
> ...))
>
>
[-- Attachment #1.2: Type: text/html, Size: 1953 bytes --]
[-- Attachment #2: pkg-list.txt --]
[-- Type: text/plain, Size: 7658 bytes --]
ace-window 20180123.1111 installed Quickly switch windows.
ag 20180225.240 installed A front-end for ag ('the silver searcher'), the C ack replacement.
anaconda-mode 20180209.1147 installed Code navigation, documentation lookup and completion for Python
annotate 20171110.2336 installed annotate files without changing them
auctex 12.1.0 installed Integrated environment for *TeX*
auto-complete 20170124.1845 installed Auto Completion for GNU Emacs
avy 20171230.220 installed Jump to arbitrary positions in visible text and select text quickly.
bm 20170815.1609 installed Visible bookmarks in buffer.
boxquote 20170802.417 installed Quote text with a semi-box.
browse-kill-ring 20171219.1108 installed interactively insert items from kill-ring
cal-china-x 20180211.1101 installed Chinese localization, lunar/horoscope/zodiac info and more...
company-lsp 20180216.2325 installed Company completion backend for lsp-mode.
dash 20180310.1317 installed A modern list library for Emacs
diff-hl 20180201.355 installed Highlight uncommitted changes using VC
edit-indirect 20170928.430 installed Edit regions in separate buffers
edit-server 20180120.752 installed server that responds to edit requests from Chrome
elpy 20180302.2001 installed Emacs Python Development Environment
emms 20180217.1219 installed The Emacs Multimedia System
ess 20180309.1235 installed Emacs Speaks Statistics
ess-smart-under... 20170222.1715 installed Ess Smart Underscore
f 20180106.122 installed Modern API for working with files and directories
find-file-in-pr... 20180224.2103 installed Find file/directory and review Diff/Patch/Commit efficiently everywhere
flycheck 20180311.1014 installed On-the-fly syntax checking
forecast 20180106.920 installed Weather forecasts
fuzzy 20150729.2037 installed Fuzzy Matching
header2 20170223.729 installed Support for creation and update of file headers.
highlight-thing 20170919.704 installed Minimalistic minor mode to highlight current thing under point.
hydra 20180226.1116 installed Make bindings that stick around.
ivy 20180305.1340 installed Incremental Vertical completYon
jedi 20160425.2156 installed a Python auto-completion for Emacs
jedi-direx 20140310.236 installed Tree style source code viewer for Python buffer
langtool 20170917.2154 installed Grammar check utility using LanguageTool
lsp-python 20171021.254 installed Python support for lsp-mode
lsp-ui 20180310.453 installed UI modules for lsp-mode
markdown-mode 20180124.138 installed Major mode for Markdown-formatted text
matlab-mode 20180125.1010 installed Major mode for MATLAB(R) dot-m files
multiple-cursors 20170908.1452 installed Multiple cursors for Emacs.
neotree 20170522.758 installed A tree plugin like NerdTree for Vim
pandoc-mode 20180122.108 installed Minor mode for interacting with Pandoc
paredit 20171126.1805 installed minor mode for editing parentheses
quickrun 20170222.1715 installed Run commands quickly
rainbow-mode 0.13 installed Colorize color names in buffers
ranger 20170817.857 installed Make dired more like ranger
rg 20180218.1129 installed A search tool based on ripgrep.
s 20180227.51 installed The long lost Emacs string manipulation library.
smartparens 20180308.1042 installed Automatic insertion, wrapping and paredit-like navigation with user defined pairs.
stan-mode 20180110.1441 installed Major mode for editing Stan files
swiper 20180306.953 installed Isearch with an overview. Oh, man!
undo-tree 20170706.246 installed Treat undo history as a tree
vdiff 20170525.1231 installed A diff tool similar to vimdiff
visual-regexp 20170228.1716 installed A regexp/replace command for Emacs with interactive visual feedback
vlf 20180201.1454 installed View Large Files
yaml-mode 20180212.1556 installed Major mode for editing YAML files
ztree 20180215.1021 installed Text mode directory tree
async 20180119.533 dependency Asynchronous processing in Emacs
company 20180310.1143 dependency Modular text completion framework
concurrent 20161228.1930 dependency Concurrent utility functions for emacs lisp
ctable 20171005.1711 dependency Table component for Emacs Lisp
dash-functional 20180107.818 dependency Collection of useful combinators for Emacs Lisp
deferred 20170901.630 dependency Simple asynchronous functions for emacs lisp
direx 20170422.627 dependency Simple Directory Explorer
epc 20140609.2234 dependency A RPC stack for the Emacs Lisp
epl 20180205.1249 dependency Emacs Package Library
ghub 20180312.1611 dependency minuscule client library for the Github API
git-commit 20180202.321 dependency Edit Git commit messages
highlight-inden... 20171218.137 dependency Minor modes for highlighting indentation
jedi-core 20170121.610 dependency Common code of jedi.el and company-jedi.el
julia-mode 20171116.642 dependency Major mode for editing Julia source code
lsp-mode 20180311.908 dependency Minor mode for interacting with Language Servers
magit 20180307.631 dependency A Git porcelain inside Emacs.
magit-popup 20180217.910 dependency Define prefix-infix-suffix command combos
pkg-info 20150517.1943 dependency Information about packages
popup 20160709.729 dependency Visual Popup User Interface
projectile 20180227.1743 dependency Manage and navigate projects in Emacs easily
python-environment 20150310.153 dependency virtualenv API for Emacs Lisp
pythonic 20180208.214 dependency Utility functions for writing pythonic emacs package.
pyvenv 20180304.712 dependency Python virtual environment interface
web-mode 20180310.416 dependency major mode for editing web templates
with-editor 20180217.548 dependency Use the Emacsclient as $EDITOR
yasnippet 20180310.1614 dependency Yet another snippet extension for Emacs.
[-- Attachment #3: pkg-e-l.diff --]
[-- Type: application/octet-stream, Size: 3717 bytes --]
--- c:/Users/username/Documents/base/pkg-late.txt 2018-03-14 12:54:08.671294000 +0800
+++ c:/Users/username/Documents/base/pkg-early.txt 2018-03-14 12:53:19.455859000 +0800
@@ -1,4 +1,4 @@
->>> before custom-set-variables : 0.500 sec <<<
+>>> before custom-set-variables : 5.532 sec <<<
setting 'abbrev-mode': 0.000s
setting 'ac-dictionary-files': 0.000s
setting 'ac-modes': 0.000s
@@ -7,7 +7,7 @@
setting 'ansi-color-for-comint-mode': 0.000s
setting 'appt-audible': 0.000s
Loading image-file...done
-setting 'auto-image-file-mode': 0.095s
+setting 'auto-image-file-mode': 0.745s
setting 'auto-save-timeout': 0.000s
setting 'backup-by-copying': 0.000s
setting 'backup-directory-alist': 0.000s
@@ -23,7 +23,7 @@
setting 'comment-auto-fill-only-comments': 0.000s
setting 'comment-style': 0.000s
setting 'compilation-window-height': 0.000s
-setting 'current-language-environment': 0.000s
+setting 'current-language-environment': 0.473s
setting 'default-input-method': 0.000s
setting 'default-major-mode': 0.000s
setting 'delete-by-moving-to-trash': 0.000s
@@ -41,12 +41,12 @@
setting 'display-time-24hr-format': 0.000s
setting 'display-time-day-and-date': 0.000s
Loading time...done
-setting 'display-time-mode': 0.048s
+setting 'display-time-mode': 0.260s
setting 'doc-view-ghostscript-program': 0.000s
Loading completion...done
-setting 'dynamic-completion-mode': 0.032s
+setting 'dynamic-completion-mode': 0.283s
Loading elec-pair...done
-setting 'electric-pair-mode': 0.031s
+setting 'electric-pair-mode': 0.268s
setting 'emms-player-mpg321-command-name': 0.000s
setting 'ess-ask-for-ess-directory': 0.000s
setting 'ess-default-style': 0.000s
@@ -70,12 +70,12 @@
setting 'history-delete-duplicates': 0.000s
setting 'horizontal-scroll-bar-mode': 0.000s
Loading icomplete...done
-setting 'icomplete-mode': 0.010s
+setting 'icomplete-mode': 0.252s
setting 'ido-everywhere': 0.000s
setting 'ido-ignore-buffers': 0.000s
setting 'ido-ignore-files': 0.000s
Loading ido...done
-setting 'ido-mode': 0.762s
+setting 'ido-mode': 0.253s
setting 'ido-use-virtual-buffers': 0.000s
setting 'image-dired-cmd-create-thumbnail-program': 0.000s
setting 'indent-tabs-mode': 0.000s
@@ -101,7 +101,7 @@
setting 'maxima-command': 0.000s
setting 'menu-bar-mode': 0.000s
Loading avoid...done
-setting 'mouse-avoidance-mode': 0.128s
+setting 'mouse-avoidance-mode': 0.554s
setting 'org-agenda-files': 0.000s
setting 'org-agenda-start-on-weekday': 0.000s
setting 'org-alphabetical-lists': 0.000s
@@ -135,13 +135,13 @@
setting 'sas-program': 0.000s
setting 'save-interprogram-paste-before-kill': 0.000s
Loading savehist...done
-setting 'savehist-mode': 0.047s
+setting 'savehist-mode': 0.261s
setting 'scalable-fonts-allowed': 0.000s
setting 'scroll-bar-mode': 0.000s
setting 'scroll-conservatively': 0.000s
setting 'sentence-end-double-space': 0.000s
Loading paren...done
-setting 'show-paren-mode': 0.031s
+setting 'show-paren-mode': 0.371s
setting 'show-paren-style': 0.000s
setting 'size-indication-mode': 0.000s
setting 'srecode-map-save-file': 0.000s
@@ -152,7 +152,7 @@
setting 'text-scale-mode-step': 0.000s
setting 'tool-bar-mode': 0.000s
setting 'track-eol': 0.000s
-setting 'tramp-syntax': 1.622s
+setting 'tramp-syntax': 3.775s
setting 'undo-limit': 0.000s
setting 'undo-strong-limit': 0.000s
setting 'uniquify-buffer-name-style': 0.000s
@@ -168,4 +168,4 @@
setting 'yas-also-auto-indent-first-line': 0.000s
setting 'yas-prompt-functions': 0.000s
setting 'yas-snippet-dirs': 0.000s
->>> custom-set-variables time: 3.337 sec <<<
+>>> custom-set-variables time: 13.096 sec <<<
[-- Attachment #4: pkg-late.txt --]
[-- Type: text/plain, Size: 6737 bytes --]
>>> before custom-set-variables : 0.500 sec <<<
setting 'abbrev-mode': 0.000s
setting 'ac-dictionary-files': 0.000s
setting 'ac-modes': 0.000s
setting 'ac-use-quick-help': 0.000s
setting 'adaptive-fill-regexp': 0.000s
setting 'ansi-color-for-comint-mode': 0.000s
setting 'appt-audible': 0.000s
Loading image-file...done
setting 'auto-image-file-mode': 0.095s
setting 'auto-save-timeout': 0.000s
setting 'backup-by-copying': 0.000s
setting 'backup-directory-alist': 0.000s
setting 'bookmark-default-file': 0.000s
setting 'bookmark-save-flag': 0.000s
setting 'bookmark-version-control': 0.000s
setting 'calendar-chinese-celestial-stem': 0.000s
setting 'calendar-chinese-terrestrial-branch': 0.000s
setting 'calendar-time-zone': 0.000s
setting 'case-fold-search': 0.000s
setting 'column-number-mode': 0.000s
setting 'comint-input-ignoredups': 0.000s
setting 'comment-auto-fill-only-comments': 0.000s
setting 'comment-style': 0.000s
setting 'compilation-window-height': 0.000s
setting 'current-language-environment': 0.000s
setting 'default-input-method': 0.000s
setting 'default-major-mode': 0.000s
setting 'delete-by-moving-to-trash': 0.000s
setting 'delete-old-versions': 0.000s
setting 'desktop-auto-save-timeout': 0.000s
setting 'desktop-base-file-name': 0.000s
setting 'desktop-base-lock-name': 0.000s
setting 'desktop-buffers-not-to-save': 0.000s
setting 'desktop-files-not-to-save': 0.000s
setting 'desktop-modes-not-to-save': 0.000s
setting 'desktop-path': 0.000s
setting 'diary-file': 0.000s
setting 'dired-guess-shell-case-fold-search': 0.000s
setting 'dired-isearch-filenames': 0.000s
setting 'display-time-24hr-format': 0.000s
setting 'display-time-day-and-date': 0.000s
Loading time...done
setting 'display-time-mode': 0.048s
setting 'doc-view-ghostscript-program': 0.000s
Loading completion...done
setting 'dynamic-completion-mode': 0.032s
Loading elec-pair...done
setting 'electric-pair-mode': 0.031s
setting 'emms-player-mpg321-command-name': 0.000s
setting 'ess-ask-for-ess-directory': 0.000s
setting 'ess-default-style': 0.000s
setting 'ess-directory-containing-R': 0.000s
setting 'ess-funcmenu-use-p': 0.000s
setting 'ess-function-template': 0.000s
setting 'ess-indent-with-fancy-comments': 0.000s
setting 'ess-language': 0.000s
setting 'ess-program-files': 0.000s
setting 'ess-sas-data-view-submit-options': 0.000s
setting 'ess-sas-submit-command': 0.000s
setting 'ess-sas-submit-command-options': 0.000s
setting 'ess-sas-submit-post-command': 0.000s
setting 'ess-sas-submit-pre-command': 0.000s
setting 'ess-source-directory': 0.000s
setting 'ffap-machine-p-known': 0.000s
setting 'fill-column': 0.000s
setting 'font-latex-fontify-script': 0.000s
setting 'garbage-collection-messages': 0.000s
setting 'highlight-nonselected-windows': 0.000s
setting 'history-delete-duplicates': 0.000s
setting 'horizontal-scroll-bar-mode': 0.000s
Loading icomplete...done
setting 'icomplete-mode': 0.010s
setting 'ido-everywhere': 0.000s
setting 'ido-ignore-buffers': 0.000s
setting 'ido-ignore-files': 0.000s
Loading ido...done
setting 'ido-mode': 0.762s
setting 'ido-use-virtual-buffers': 0.000s
setting 'image-dired-cmd-create-thumbnail-program': 0.000s
setting 'indent-tabs-mode': 0.000s
setting 'indicate-empty-lines': 0.000s
setting 'inferior-R-args': 0.000s
setting 'inferior-julia-args': 0.000s
setting 'inferior-julia-program-name': 0.000s
setting 'inhibit-default-init': 0.000s
setting 'inhibit-startup-screen': 0.000s
setting 'initial-scratch-message': 0.000s
setting 'isearch-allow-scroll': 0.000s
setting 'ivy-use-virtual-buffers': 0.000s
setting 'julia-arguments': 0.000s
setting 'julia-program': 0.000s
setting 'kept-new-versions': 0.000s
setting 'kept-old-versions': 0.000s
setting 'kill-do-not-save-duplicates': 0.000s
setting 'kill-ring-max': 0.000s
setting 'kill-whole-line': 0.000s
setting 'ls-lisp-emulation': 0.000s
setting 'ls-lisp-verbosity': 0.000s
setting 'magit-git-executable': 0.000s
setting 'maxima-command': 0.000s
setting 'menu-bar-mode': 0.000s
Loading avoid...done
setting 'mouse-avoidance-mode': 0.128s
setting 'org-agenda-files': 0.000s
setting 'org-agenda-start-on-weekday': 0.000s
setting 'org-alphabetical-lists': 0.000s
setting 'org-babel-load-languages': 0.000s
setting 'org-capture-templates': 0.000s
setting 'org-directory': 0.000s
setting 'org-insert-mode-line-in-empty-file': 0.000s
setting 'org-latex-to-pdf-process': 0.000s
setting 'org-list-allow-alphabetical': 0.000s
setting 'org-log-done': 0.000s
setting 'org-modules': 0.000s
setting 'org-src-fontify-natively': 0.000s
setting 'org-startup-folded': 0.000s
setting 'org-startup-truncated': 0.000s
setting 'org-todo-keywords': 0.000s
setting 'package-archives': 0.000s
setting 'package-selected-packages': 0.000s
setting 'paragraph-start': 0.000s
setting 'password-cache-expiry': 0.000s
setting 'pop3-leave-mail-on-server': 0.000s
setting 'pr-faces-p': 0.000s
setting 'pr-gs-command': 0.000s
setting 'pr-gv-command': 0.000s
setting 'preview-auto-cache-preamble': 0.000s
setting 'preview-gs-command': 0.000s
setting 'preview-image-type': 0.000s
setting 'remote-file-name-inhibit-cache': 0.000s
setting 'require-final-newline': 0.000s
setting 'safe-local-variable-values': 0.000s
setting 'sas-indent-width': 0.000s
setting 'sas-program': 0.000s
setting 'save-interprogram-paste-before-kill': 0.000s
Loading savehist...done
setting 'savehist-mode': 0.047s
setting 'scalable-fonts-allowed': 0.000s
setting 'scroll-bar-mode': 0.000s
setting 'scroll-conservatively': 0.000s
setting 'sentence-end-double-space': 0.000s
Loading paren...done
setting 'show-paren-mode': 0.031s
setting 'show-paren-style': 0.000s
setting 'size-indication-mode': 0.000s
setting 'srecode-map-save-file': 0.000s
setting 'svn-status-svn-environment-var-list': 0.000s
setting 'system-time-locale': 0.000s
setting 'tab-always-indent': 0.000s
setting 'tab-width': 0.000s
setting 'text-scale-mode-step': 0.000s
setting 'tool-bar-mode': 0.000s
setting 'track-eol': 0.000s
setting 'tramp-syntax': 1.622s
setting 'undo-limit': 0.000s
setting 'undo-strong-limit': 0.000s
setting 'uniquify-buffer-name-style': 0.000s
setting 'user-full-name': 0.000s
setting 'user-mail-address': 0.000s
setting 'vc-handled-backends': 0.000s
setting 'vc-make-backup-files': 0.000s
setting 'vc-svn-diff-switches': 0.000s
setting 'vc-svn-use-edit': 0.000s
setting 'version-control': 0.000s
setting 'visible-bell': 0.000s
setting 'whitespace-action': 0.000s
setting 'yas-also-auto-indent-first-line': 0.000s
setting 'yas-prompt-functions': 0.000s
setting 'yas-snippet-dirs': 0.000s
>>> custom-set-variables time: 3.337 sec <<<
next prev parent reply other threads:[~2018-03-14 5:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-06 16:20 bug#30731: Slower startup using March (27.0.50) build in windows Shuguang Sun
2018-03-09 1:35 ` Noam Postavsky
2018-03-11 3:25 ` Shuguang Sun
2018-03-11 17:21 ` Shuguang Sun
2018-03-11 17:39 ` Noam Postavsky
2018-03-12 1:48 ` Shuguang Sun
2018-03-12 1:52 ` Noam Postavsky
2018-03-12 16:08 ` Shuguang Sun
2018-03-12 17:09 ` Noam Postavsky
2018-03-13 10:34 ` Shuguang Sun
2018-03-14 1:38 ` Noam Postavsky
2018-03-14 5:02 ` Shuguang Sun [this message]
2018-03-19 23:41 ` Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACspjXcjS_aRbeuYemWN8RUULL4x9JtELUGvTtjt3e1MdDpZEg@mail.gmail.com \
--to=shuguang@gmail.com \
--cc=30731@debbugs.gnu.org \
--cc=npostavs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.