LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
Hi

I use LyX 1.6.3 (installed the mac version, so no fink or other port) on an
Intel Mac 10.5.7 and experience a rather high cup usage by LyX even when
it's doing nothing. I just have the LyX window open and watch 'top' next to
it. The cpu shoots up to 50% and more for LyX with it doing nothing.

There seemed to be a bug with a blinking cursor a while ago (LyX 1.4) and
I'm wondering whether this issue is related. Or is it me doing something
wrong?

Comments are welcome since this is quite a waste of resources.

Otherwise I became a real fan of lyx within the short time I've been using
it.

Thanks
Alex


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
2009/7/7 BH bewih...@gmail.com

 On Tue, Jul 7, 2009 at 7:13 AM, Alexander Barczaab...@cam.ac.uk wrote:
  Hi
 
  I use LyX 1.6.3 (installed the mac version, so no fink or other port) on
 an
  Intel Mac 10.5.7 and experience a rather high cup usage by LyX even when
  it's doing nothing. I just have the LyX window open and watch 'top' next
 to
  it. The cpu shoots up to 50% and more for LyX with it doing nothing.
 
  There seemed to be a bug with a blinking cursor a while ago (LyX 1.4) and
  I'm wondering whether this issue is related. Or is it me doing something
  wrong?

 I agree that LyX uses more resources than it should on Mac -- but only
 when it's actively doing something. (Typing and opening files are the
 two big culprits as far as I can tell.) However, in my experience it
 does not use much when sitting idle. Are you sure it's LyX consuming
 CPU power in your case? -- Try running Activity Monitor.app
 (/Applications/Utilities/) to see what's responsible for the CPU usage
 in your case.



 BH


After closing a big file that was opened the cpu load dropped. Even when I
restarted LyX and opened the large file again the cpu stayed around 3% which
is totally acceptable. I haven't restarted the computer and LyX in a while
so maybe the whole issue was caused by that (don't ask me how). Sorry for
causing traffic for such a benign problem. In any case, thanks for the
reply!

Alex


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Jean-Marc Lasgouttes
Alexander Barcza ab...@cam.ac.uk writes:
 After closing a big file that was opened the cpu load dropped. Even when I
 restarted LyX and opened the large file again the cpu stayed around 3% which
 is totally acceptable. I haven't restarted the computer and LyX in a while
 so maybe the whole issue was caused by that (don't ask me how). Sorry for
 causing traffic for such a benign problem. In any case, thanks for the
 reply!

If you have access to a binary with debug information and to the
Shark.app profiler, it would be interesting to know what parts of LyX
are causing the cpu load.

JMarc


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
2009/7/7 Jean-Marc Lasgouttes lasgout...@lyx.org

 Alexander Barcza ab...@cam.ac.uk writes:
  After closing a big file that was opened the cpu load dropped. Even when
 I
  restarted LyX and opened the large file again the cpu stayed around 3%
 which
  is totally acceptable. I haven't restarted the computer and LyX in a
 while
  so maybe the whole issue was caused by that (don't ask me how). Sorry for
  causing traffic for such a benign problem. In any case, thanks for the
  reply!

 If you have access to a binary with debug information and to the
 Shark.app profiler, it would be interesting to know what parts of LyX
 are causing the cpu load.

 JMarc


I'd be pleased to help but not a developer. Shark.app is installed and if
you give me a quick description of what you are interested in I can run
Shark the next time this scenario repeats. I don't know when that will be
because as I said just reopening the file doesn't lead to the high cpu load.


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Jean-Marc Lasgouttes
Alexander Barcza ab...@cam.ac.uk writes:
 If you have access to a binary with debug information and to the
 Shark.app profiler, it would be interesting to know what parts of LyX
 are causing the cpu load.

 I'd be pleased to help but not a developer. Shark.app is installed and if
 you give me a quick description of what you are interested in I can run
 Shark the next time this scenario repeats. I don't know when that will be
 because as I said just reopening the file doesn't lead to the high cpu load.

It may be a bit complicated to explain if we do not know when it
happens.

Basically, you launch shark.app, click on 'start' (I am not sure when
the button name is, but there is only one :), and wait until it has
finished (30 seconds or something like that). Then it shows you a window
with the list of functions/methods where cpu time is spent. 

However, in practice it is a bit difficult to master, so the best you
can do is probably to try to understand what puts LyX in this situation.

JMarc


LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
Hi

I use LyX 1.6.3 (installed the mac version, so no fink or other port) on an
Intel Mac 10.5.7 and experience a rather high cup usage by LyX even when
it's doing nothing. I just have the LyX window open and watch 'top' next to
it. The cpu shoots up to 50% and more for LyX with it doing nothing.

There seemed to be a bug with a blinking cursor a while ago (LyX 1.4) and
I'm wondering whether this issue is related. Or is it me doing something
wrong?

Comments are welcome since this is quite a waste of resources.

Otherwise I became a real fan of lyx within the short time I've been using
it.

Thanks
Alex


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
2009/7/7 BH bewih...@gmail.com

 On Tue, Jul 7, 2009 at 7:13 AM, Alexander Barczaab...@cam.ac.uk wrote:
  Hi
 
  I use LyX 1.6.3 (installed the mac version, so no fink or other port) on
 an
  Intel Mac 10.5.7 and experience a rather high cup usage by LyX even when
  it's doing nothing. I just have the LyX window open and watch 'top' next
 to
  it. The cpu shoots up to 50% and more for LyX with it doing nothing.
 
  There seemed to be a bug with a blinking cursor a while ago (LyX 1.4) and
  I'm wondering whether this issue is related. Or is it me doing something
  wrong?

 I agree that LyX uses more resources than it should on Mac -- but only
 when it's actively doing something. (Typing and opening files are the
 two big culprits as far as I can tell.) However, in my experience it
 does not use much when sitting idle. Are you sure it's LyX consuming
 CPU power in your case? -- Try running Activity Monitor.app
 (/Applications/Utilities/) to see what's responsible for the CPU usage
 in your case.



 BH


After closing a big file that was opened the cpu load dropped. Even when I
restarted LyX and opened the large file again the cpu stayed around 3% which
is totally acceptable. I haven't restarted the computer and LyX in a while
so maybe the whole issue was caused by that (don't ask me how). Sorry for
causing traffic for such a benign problem. In any case, thanks for the
reply!

Alex


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Jean-Marc Lasgouttes
Alexander Barcza ab...@cam.ac.uk writes:
 After closing a big file that was opened the cpu load dropped. Even when I
 restarted LyX and opened the large file again the cpu stayed around 3% which
 is totally acceptable. I haven't restarted the computer and LyX in a while
 so maybe the whole issue was caused by that (don't ask me how). Sorry for
 causing traffic for such a benign problem. In any case, thanks for the
 reply!

If you have access to a binary with debug information and to the
Shark.app profiler, it would be interesting to know what parts of LyX
are causing the cpu load.

JMarc


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
2009/7/7 Jean-Marc Lasgouttes lasgout...@lyx.org

 Alexander Barcza ab...@cam.ac.uk writes:
  After closing a big file that was opened the cpu load dropped. Even when
 I
  restarted LyX and opened the large file again the cpu stayed around 3%
 which
  is totally acceptable. I haven't restarted the computer and LyX in a
 while
  so maybe the whole issue was caused by that (don't ask me how). Sorry for
  causing traffic for such a benign problem. In any case, thanks for the
  reply!

 If you have access to a binary with debug information and to the
 Shark.app profiler, it would be interesting to know what parts of LyX
 are causing the cpu load.

 JMarc


I'd be pleased to help but not a developer. Shark.app is installed and if
you give me a quick description of what you are interested in I can run
Shark the next time this scenario repeats. I don't know when that will be
because as I said just reopening the file doesn't lead to the high cpu load.


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Jean-Marc Lasgouttes
Alexander Barcza ab...@cam.ac.uk writes:
 If you have access to a binary with debug information and to the
 Shark.app profiler, it would be interesting to know what parts of LyX
 are causing the cpu load.

 I'd be pleased to help but not a developer. Shark.app is installed and if
 you give me a quick description of what you are interested in I can run
 Shark the next time this scenario repeats. I don't know when that will be
 because as I said just reopening the file doesn't lead to the high cpu load.

It may be a bit complicated to explain if we do not know when it
happens.

Basically, you launch shark.app, click on 'start' (I am not sure when
the button name is, but there is only one :), and wait until it has
finished (30 seconds or something like that). Then it shows you a window
with the list of functions/methods where cpu time is spent. 

However, in practice it is a bit difficult to master, so the best you
can do is probably to try to understand what puts LyX in this situation.

JMarc


LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
Hi

I use LyX 1.6.3 (installed the mac version, so no fink or other port) on an
Intel Mac 10.5.7 and experience a rather high cup usage by LyX even when
it's doing nothing. I just have the LyX window open and watch 'top' next to
it. The cpu shoots up to 50% and more for LyX with it doing nothing.

There seemed to be a bug with a blinking cursor a while ago (LyX 1.4) and
I'm wondering whether this issue is related. Or is it me doing something
wrong?

Comments are welcome since this is quite a waste of resources.

Otherwise I became a real fan of lyx within the short time I've been using
it.

Thanks
Alex


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
2009/7/7 BH 

> On Tue, Jul 7, 2009 at 7:13 AM, Alexander Barcza wrote:
> > Hi
> >
> > I use LyX 1.6.3 (installed the mac version, so no fink or other port) on
> an
> > Intel Mac 10.5.7 and experience a rather high cup usage by LyX even when
> > it's doing nothing. I just have the LyX window open and watch 'top' next
> to
> > it. The cpu shoots up to 50% and more for LyX with it doing nothing.
> >
> > There seemed to be a bug with a blinking cursor a while ago (LyX 1.4) and
> > I'm wondering whether this issue is related. Or is it me doing something
> > wrong?
>
> I agree that LyX uses more resources than it should on Mac -- but only
> when it's actively doing something. (Typing and opening files are the
> two big culprits as far as I can tell.) However, in my experience it
> does not use much when sitting idle. Are you sure it's LyX consuming
> CPU power in your case? -- Try running Activity Monitor.app
> (/Applications/Utilities/) to see what's responsible for the CPU usage
> in your case.


>
> BH
>

After closing a big file that was opened the cpu load dropped. Even when I
restarted LyX and opened the large file again the cpu stayed around 3% which
is totally acceptable. I haven't restarted the computer and LyX in a while
so maybe the whole issue was caused by that (don't ask me how). Sorry for
causing traffic for such a benign problem. In any case, thanks for the
reply!

Alex


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Jean-Marc Lasgouttes
Alexander Barcza  writes:
> After closing a big file that was opened the cpu load dropped. Even when I
> restarted LyX and opened the large file again the cpu stayed around 3% which
> is totally acceptable. I haven't restarted the computer and LyX in a while
> so maybe the whole issue was caused by that (don't ask me how). Sorry for
> causing traffic for such a benign problem. In any case, thanks for the
> reply!

If you have access to a binary with debug information and to the
Shark.app profiler, it would be interesting to know what parts of LyX
are causing the cpu load.

JMarc


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
2009/7/7 Jean-Marc Lasgouttes 

> Alexander Barcza  writes:
> > After closing a big file that was opened the cpu load dropped. Even when
> I
> > restarted LyX and opened the large file again the cpu stayed around 3%
> which
> > is totally acceptable. I haven't restarted the computer and LyX in a
> while
> > so maybe the whole issue was caused by that (don't ask me how). Sorry for
> > causing traffic for such a benign problem. In any case, thanks for the
> > reply!
>
> If you have access to a binary with debug information and to the
> Shark.app profiler, it would be interesting to know what parts of LyX
> are causing the cpu load.
>
> JMarc
>

I'd be pleased to help but not a developer. Shark.app is installed and if
you give me a quick description of what you are interested in I can run
Shark the next time this scenario repeats. I don't know when that will be
because as I said just reopening the file doesn't lead to the high cpu load.


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Jean-Marc Lasgouttes
Alexander Barcza  writes:
>> If you have access to a binary with debug information and to the
>> Shark.app profiler, it would be interesting to know what parts of LyX
>> are causing the cpu load.

> I'd be pleased to help but not a developer. Shark.app is installed and if
> you give me a quick description of what you are interested in I can run
> Shark the next time this scenario repeats. I don't know when that will be
> because as I said just reopening the file doesn't lead to the high cpu load.

It may be a bit complicated to explain if we do not know when it
happens.

Basically, you launch shark.app, click on 'start' (I am not sure when
the button name is, but there is only one :), and wait until it has
finished (30 seconds or something like that). Then it shows you a window
with the list of functions/methods where cpu time is spent. 

However, in practice it is a bit difficult to master, so the best you
can do is probably to try to understand what puts LyX in this situation.

JMarc