From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: elp-instrument-package does not return anything
Date: Fri, 21 Dec 2012 23:25:32 +0100 [thread overview]
Message-ID: <80pq23niub.fsf@somewhere.org> (raw)
Hello,
For the sake of finding potential bottlenecks in my config, I'm looking back
at elp.
I've the following minimal Emacs config file for the current work:
#+begin_src emacs-lisp
(message "Loading Minimal Emacs...")
;; change the pathnames appropriately!
(add-to-list 'load-path (expand-file-name "~/src/org-mode/lisp"))
(add-to-list 'load-path (expand-file-name "~/src/org-mode/contrib/lisp"))
(add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
;; profile some times...
(when (require 'elp)
;; the most important ones
(elp-instrument-package "org")
(elp-instrument-package "org-agenda")
(elp-instrument-package "outline")
(elp-instrument-package "font-lock")
(elp-instrument-package "flyspell")
(elp-instrument-package "ispell")
(elp-instrument-package "emacs-leuven")
(elp-instrument-package "calendar")
(elp-instrument-package "cal-iso")
(elp-instrument-package "diary-lib")
(global-set-key "\C-ce" 'elp-results))
(setq org-agenda-files
(append
;; org-directory
(file-expand-wildcards "~/Personal/*.org")
(file-expand-wildcards "~/Projects/*.org")))
(defconst em/emacs-load-time-start (float-time))
(org-agenda-list)
(message "Loading Minimal Emacs... Done (in %.2f s)"
(- (float-time) em/emacs-load-time-start))
#+end_src
Quite simple, no?
Though, for whatever unknown reason, when calling elp-results, I just get info
about font-lock:
--8<---------------cut here---------------start------------->8---
font-lock-mode 177 0.03 0.0001694915
font-lock-default-function 177 0.015 8.47...e-005
font-lock-compile-keywords 44 0.015 0.0003409090
font-lock-mode-internal 88 0.015 0.0001704545
font-lock-set-defaults 89 0.015 0.0001685393
font-lock-fontify-region 1 0.0 0.0
font-lock-choose-keywords 44 0.0 0.0
font-lock-extend-jit-lock-region-after-change 9 0.0 0.0
font-lock-default-fontify-region 1 0.0 0.0
font-lock-value-in-major-mode 220 0.0 0.0
font-lock-default-unfontify-region 1 0.0 0.0
font-lock-specified-p 309 0.0 0.0
font-lock-unfontify-region 1 0.0 0.0
font-lock-fontify-syntactically-region 1 0.0 0.0
font-lock-initial-fontify 177 0.0 0.0
font-lock-fontify-keywords-region 1 0.0 0.0
font-lock-turn-on-thing-lock 88 0.0 0.0
font-lock-compile-keyword 1628 0.0 0.0
font-lock-change-mode 44 0.0 0.0
font-lock-extend-region-multiline 1 0.0 0.0
font-lock-extend-region-wholelines 1 0.0 0.0
font-lock-eval-keywords 88 0.0 0.0
--8<---------------cut here---------------end--------------->8---
Nothing about Org!?
I'm really out of ideas about what to do to get those Org profiling results?
Any idea of what I'm doing wrong (I guess)?
Best regards,
Seb
--
Sebastien Vauban
next reply other threads:[~2012-12-21 22:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-21 22:25 Sebastien Vauban [this message]
2012-12-21 23:05 ` elp-instrument-package does not return anything Samuel Wales
2012-12-24 13:44 ` Sebastien Vauban
2012-12-24 17:17 ` Samuel Wales
2012-12-25 16:13 ` Sebastien Vauban
2012-12-25 19:33 ` Samuel Wales
2012-12-25 2:47 ` Bastien
2012-12-25 16:24 ` Sebastien Vauban
2012-12-29 10:09 ` Bastien
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=80pq23niub.fsf@somewhere.org \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).