emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Orgmode is loading very slowly
@ 2013-01-17 10:37 Igor Sosa Mayor
  2013-01-17 18:56 ` Igor Sosa Mayor
  0 siblings, 1 reply; 4+ messages in thread
From: Igor Sosa Mayor @ 2013-01-17 10:37 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 572 bytes --]

Hi,

in the last time (maybe 3-4 weeks) I am noticing that orgmode starts
very slowly. Yes, I know, this is highly subjective. 

Is there a way in emacs to `trace' what emacs is doing/loading?

I'm using: orgmode 7.9.3d on emacs 24.2.1 (archlinux)

many thanks in advance!

Igor

PS: i'm speaking of ~10 files, most of them under 80Kb. Only one with
850kb and three with ~150Kb.

-- 
:: Igor Sosa Mayor     :: joseleopoldo1792@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/      ::
:: jabberid: rogorido  ::                            ::

[-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]

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

* Re: Orgmode is loading very slowly
  2013-01-17 10:37 Orgmode is loading very slowly Igor Sosa Mayor
@ 2013-01-17 18:56 ` Igor Sosa Mayor
  2013-01-17 21:35   ` Sebastien Vauban
  0 siblings, 1 reply; 4+ messages in thread
From: Igor Sosa Mayor @ 2013-01-17 18:56 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 985 bytes --]

I answer myself.

It is a problem with org-bullets, which makes the loading of a file a
little bit slower. That's all.

Am Thu, Jan 17, 2013 at 11:37:29AM +0100, Igor Sosa Mayor wrote:
> Hi,
> 
> in the last time (maybe 3-4 weeks) I am noticing that orgmode starts
> very slowly. Yes, I know, this is highly subjective. 
> 
> Is there a way in emacs to `trace' what emacs is doing/loading?
> 
> I'm using: orgmode 7.9.3d on emacs 24.2.1 (archlinux)
> 
> many thanks in advance!
> 
> Igor
> 
> PS: i'm speaking of ~10 files, most of them under 80Kb. Only one with
> 850kb and three with ~150Kb.
> 
> -- 
> :: Igor Sosa Mayor     :: joseleopoldo1792@gmail.com ::
> :: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/      ::
> :: jabberid: rogorido  ::                            ::



-- 
:: Igor Sosa Mayor     :: joseleopoldo1792@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/      ::
:: jabberid: rogorido  ::                            ::

[-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]

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

* Re: Orgmode is loading very slowly
  2013-01-17 18:56 ` Igor Sosa Mayor
@ 2013-01-17 21:35   ` Sebastien Vauban
  2013-01-17 22:48     ` Igor Sosa Mayor
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastien Vauban @ 2013-01-17 21:35 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Igor,

> in the last time (maybe 3-4 weeks) I am noticing that orgmode starts
> very slowly. Yes, I know, this is highly subjective. 
> 
> Is there a way in emacs to `trace' what emacs is doing/loading?
> 
> I'm using: orgmode 7.9.3d on emacs 24.2.1 (archlinux)
> 
> PS: i'm speaking of ~10 files, most of them under 80Kb. Only one with
> 850kb and three with ~150Kb.

I've written the following code, which I'm using to get insight about "opening
times" (in and out of Org):

--8<---------------cut here---------------start------------->8---
  (defadvice find-file (around find-file-around activate)
    "Open FILENAME and report time spent."
    (let ((filename (ad-get-arg 0))
          (find-file-time-start (float-time)))
      (message "(info) Finding file %s..." filename)
      ad-do-it
      (message "(info) Found file %s in %.2f s." filename
               (- (float-time) find-file-time-start))))
--8<---------------cut here---------------end--------------->8---

Pretty useful (to me)...

Best regards,
  Seb

-- 
Sebastien Vauban

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

* Re: Orgmode is loading very slowly
  2013-01-17 21:35   ` Sebastien Vauban
@ 2013-01-17 22:48     ` Igor Sosa Mayor
  0 siblings, 0 replies; 4+ messages in thread
From: Igor Sosa Mayor @ 2013-01-17 22:48 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

Am Thu, Jan 17, 2013 at 10:35:29PM +0100, Sebastien Vauban wrote:
 
> I've written the following code, which I'm using to get insight about "opening
> times" (in and out of Org):
> 

thanks!

I will give it a try!

-- 
:: Igor Sosa Mayor     :: joseleopoldo1792@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/      ::
:: jabberid: rogorido  ::                            ::

[-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]

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

end of thread, other threads:[~2013-01-17 22:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-17 10:37 Orgmode is loading very slowly Igor Sosa Mayor
2013-01-17 18:56 ` Igor Sosa Mayor
2013-01-17 21:35   ` Sebastien Vauban
2013-01-17 22:48     ` Igor Sosa Mayor

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