Re: [O] Orgmode is loading very slowly

2013-01-17 Thread Igor Sosa Mayor
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 :: joseleopoldo1...@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/  ::
:: jabberid: rogorido  ::::


pgpJjTZPpKN9Q.pgp
Description: PGP signature


Re: [O] Orgmode is loading very slowly

2013-01-17 Thread Sebastien Vauban
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




Re: [O] Orgmode is loading very slowly

2013-01-17 Thread Igor Sosa Mayor
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 :: joseleopoldo1...@gmail.com ::
> :: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/  ::
> :: jabberid: rogorido  ::::



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


pgpBPUR4qib7X.pgp
Description: PGP signature


[O] Orgmode is loading very slowly

2013-01-17 Thread Igor Sosa Mayor
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 :: joseleopoldo1...@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/  ::
:: jabberid: rogorido  ::::


pgpIoWYE57spM.pgp
Description: PGP signature