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


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


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 Barcza<ab...@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 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.


how to use custom insert

2009-06-22 Thread Alexander Barcza
Hello,

I'm using LyX 1.6.3 on a Mac. I'd like to define some custom insert in order
to insert frequently used formatted text. There seems to be an item in the
menu but all it says is No custom insets defined!. How do I define one?

Could you please let me know whether I'm doing something wrong or whether
there is a workaround to achieve the same. In particular I want to define
some math expressions (like $T_{\mathrm{C}} and so on) that I want to insert
in my document with a single/few clicks.

This is possible in e.g. Kile but I really love LyX because of the WYSIWYG.

Thanks
Alex


how to use custom insert

2009-06-22 Thread Alexander Barcza
Hello,

I'm using LyX 1.6.3 on a Mac. I'd like to define some custom insert in order
to insert frequently used formatted text. There seems to be an item in the
menu but all it says is No custom insets defined!. How do I define one?

Could you please let me know whether I'm doing something wrong or whether
there is a workaround to achieve the same. In particular I want to define
some math expressions (like $T_{\mathrm{C}} and so on) that I want to insert
in my document with a single/few clicks.

This is possible in e.g. Kile but I really love LyX because of the WYSIWYG.

Thanks
Alex


how to use "custom insert"

2009-06-22 Thread Alexander Barcza
Hello,

I'm using LyX 1.6.3 on a Mac. I'd like to define some custom insert in order
to insert frequently used formatted text. There seems to be an item in the
menu but all it says is "No custom insets defined!". How do I define one?

Could you please let me know whether I'm doing something wrong or whether
there is a workaround to achieve the same. In particular I want to define
some math expressions (like $T_{\mathrm{C}} and so on) that I want to insert
in my document with a single/few clicks.

This is possible in e.g. Kile but I really love LyX because of the WYSIWYG.

Thanks
Alex