emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* elp-instrument-package does not return anything
@ 2012-12-21 22:25 Sebastien Vauban
  2012-12-21 23:05 ` Samuel Wales
  2012-12-24 13:44 ` Sebastien Vauban
  0 siblings, 2 replies; 9+ messages in thread
From: Sebastien Vauban @ 2012-12-21 22:25 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-12-29 10:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-21 22:25 elp-instrument-package does not return anything Sebastien Vauban
2012-12-21 23:05 ` 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

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).