Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-06-07 Thread Andre Poenitz
On Wed, May 31, 2006 at 11:23:59AM +0200, Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak I have been experimenting using a QPicture cache inside Abdelrazak QLPainter instead of drawing directly to the pixmap for Abdelrazak each operation.

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-06-07 Thread Andre Poenitz
On Wed, May 31, 2006 at 11:23:59AM +0200, Jean-Marc Lasgouttes wrote: > > "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > Abdelrazak> I have been experimenting using a QPicture "cache" inside > Abdelrazak> QLPainter instead of drawing directly to the pixmap for > Abdelrazak>

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-31 Thread Abdelrazak Younes
Bennett Helm wrote: On May 29, 2006, at 12:52 PM, Bennett Helm wrote: I've tried it with 1.4/qt3 on Mac. It seems to help in two respects: 1. scrolling speed gives me an improvement similar to what Abdel reported: 39 seconds down to 35. 2. although typing doesn't lag on either version,

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-31 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak I have been experimenting using a QPicture cache inside Abdelrazak QLPainter instead of drawing directly to the pixmap for Abdelrazak each operation. The purpose of a QPicture is to record Abdelrazak painting operation and

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-31 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak I have been experimenting using a QPicture cache inside Abdelrazak QLPainter instead of drawing directly to the pixmap for Abdelrazak each operation. The purpose of a QPicture is to record

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-31 Thread Abdelrazak Younes
Bennett Helm wrote: On May 29, 2006, at 12:52 PM, Bennett Helm wrote: I've tried it with 1.4/qt3 on Mac. It seems to help in two respects: 1. scrolling speed gives me an improvement similar to what Abdel reported: 39 seconds down to 35. 2. although typing doesn't lag on either version,

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-31 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I have been experimenting using a QPicture "cache" inside Abdelrazak> QLPainter instead of drawing directly to the pixmap for Abdelrazak> each operation. The purpose of a QPicture is to record Abdelrazak> painting

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-31 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I have been experimenting using a QPicture "cache" inside Abdelrazak> QLPainter instead of drawing directly to the pixmap for Abdelrazak> each operation. The purpose of a QPicture is to record

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-30 Thread Andre Poenitz
On Thu, May 25, 2006 at 11:31:43PM +0200, Abdelrazak Younes wrote: I see that there is a lot of improvement compared to your former profile WRT qt4 frontends. Do you feel the improve in speed? AFAICS the clear culprit is again font_metrics::width(). This is true for your first three patches

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-30 Thread Bennett Helm
On May 29, 2006, at 12:52 PM, Bennett Helm wrote: I've tried it with 1.4/qt3 on Mac. It seems to help in two respects: 1. scrolling speed gives me an improvement similar to what Abdel reported: 39 seconds down to 35. 2. although typing doesn't lag on either version, without the patch I

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-30 Thread Andre Poenitz
On Thu, May 25, 2006 at 11:31:43PM +0200, Abdelrazak Younes wrote: > I see that there is a lot of improvement compared to your former profile > WRT qt4 frontends. Do you feel the improve in speed? > AFAICS the clear culprit is again font_metrics::width(). This is true > for your first three

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-30 Thread Bennett Helm
On May 29, 2006, at 12:52 PM, Bennett Helm wrote: I've tried it with 1.4/qt3 on Mac. It seems to help in two respects: 1. scrolling speed gives me an improvement similar to what Abdel reported: 39 seconds down to 35. 2. although typing doesn't lag on either version, without the patch I

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-29 Thread Jean-Marc Lasgouttes
Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett On May 25, 2006, at 6:39 PM, Abdelrazak Younes wrote: I have enabled the font width caching in the qt4 frontend. Under windows I have a 5 seconds improvements when scrolling the UserGuide with pageDown (35 instead of 40). Could you

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-29 Thread Jean-Marc Lasgouttes
Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Jean-Marc So the next question is: what does the following patch does Jean-Marc to 1.5/qt3 (or 1.4/qt3) in LyX/Mac? I remember that at the Jean-Marc time I found caching did not help on linux but it may be Jean-Marc that I was

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-29 Thread Bennett Helm
On May 29, 2006, at 12:15 PM, Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett On May 25, 2006, at 6:39 PM, Abdelrazak Younes wrote: I have enabled the font width caching in the qt4 frontend. Under windows I have a 5 seconds improvements when scrolling

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-29 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett On May 25, 2006, at 6:39 PM, Abdelrazak Younes wrote: I have enabled the font width caching in the qt4 frontend. Under windows I have a 5 seconds improvements when scrolling the UserGuide with pageDown (35

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-29 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On May 25, 2006, at 6:39 PM, Abdelrazak Younes wrote: >> I have enabled the font width caching in the qt4 frontend. Under >> windows I have a 5 seconds improvements when scrolling the >> UserGuide with pageDown (35 instead of

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-29 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> So the next question is: what does the following patch does Jean-Marc> to 1.5/qt3 (or 1.4/qt3) in LyX/Mac? I remember that at the Jean-Marc> time I found caching did not help on linux but it may be Jean-Marc> that I

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-29 Thread Bennett Helm
On May 29, 2006, at 12:15 PM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On May 25, 2006, at 6:39 PM, Abdelrazak Younes wrote: I have enabled the font width caching in the qt4 frontend. Under windows I have a 5 seconds improvements when

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-29 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On May 25, 2006, at 6:39 PM, Abdelrazak Younes wrote: I have enabled the font width caching in the qt4 frontend. Under windows I have a 5 seconds improvements when scrolling the UserGuide with pageDown

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak I have enabled the font width caching in the qt4 frontend. Abdelrazak Under windows I have a 5 seconds improvements when Abdelrazak scrolling the UserGuide with pageDown (35 instead of 40). If you go this route and it seems

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak I have enabled the font width caching in the qt4 frontend. Abdelrazak Under windows I have a 5 seconds improvements when Abdelrazak scrolling the UserGuide with pageDown (35 instead of

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Bennett Helm
[To the list this time!] On May 25, 2006, at 5:31 PM, Abdelrazak Younes wrote: Bennett Helm wrote: This profile was generated by simply typing into the middle of a large document for 30 seconds. I see that there is a lot of improvement compared to your former profile WRT qt4 frontends.

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Abdelrazak Younes
Bennett Helm wrote: [To the list this time!] On May 25, 2006, at 5:31 PM, Abdelrazak Younes wrote: Bennett Helm wrote: This profile was generated by simply typing into the middle of a large document for 30 seconds. I see that there is a lot of improvement compared to your former profile

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Abdelrazak Younes
Bennett Helm wrote: On May 25, 2006, at 6:39 PM, Abdelrazak Younes wrote: I have enabled the font width caching in the qt4 frontend. Under windows I have a 5 seconds improvements when scrolling the UserGuide with pageDown (35 instead of 40). Could you SVN update and try this please? Wow!

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Abdelrazak Younes
Bennett Helm wrote: On May 25, 2006, at 6:39 PM, Abdelrazak Younes wrote: I have enabled the font width caching in the qt4 frontend. Under windows I have a 5 seconds improvements when scrolling the UserGuide with pageDown (35 instead of 40). Could you SVN update and try this please? Wow!

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Bennett Helm
On May 26, 2006, at 9:39 AM, Abdelrazak Younes wrote: Bennett Helm wrote: On May 25, 2006, at 6:39 PM, Abdelrazak Younes wrote: I have enabled the font width caching in the qt4 frontend. Under windows I have a 5 seconds improvements when scrolling the UserGuide with pageDown (35 instead

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Abdelrazak Younes
Bennett Helm wrote: On May 26, 2006, at 9:39 AM, Abdelrazak Younes wrote: Bennett Helm wrote: On May 25, 2006, at 6:39 PM, Abdelrazak Younes wrote: I have enabled the font width caching in the qt4 frontend. Under windows I have a 5 seconds improvements when scrolling the UserGuide with

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I have enabled the font width caching in the qt4 frontend. Abdelrazak> Under windows I have a 5 seconds improvements when Abdelrazak> scrolling the UserGuide with pageDown (35 instead of 40). If you go this route and

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I have enabled the font width caching in the qt4 frontend. Abdelrazak> Under windows I have a 5 seconds improvements when Abdelrazak> scrolling the UserGuide with pageDown (35

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Bennett Helm
[To the list this time!] On May 25, 2006, at 5:31 PM, Abdelrazak Younes wrote: Bennett Helm wrote: This profile was generated by simply typing into the middle of a large document for 30 seconds. I see that there is a lot of improvement compared to your former profile WRT qt4 frontends.

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Abdelrazak Younes
Bennett Helm wrote: [To the list this time!] On May 25, 2006, at 5:31 PM, Abdelrazak Younes wrote: Bennett Helm wrote: This profile was generated by simply typing into the middle of a large document for 30 seconds. I see that there is a lot of improvement compared to your former profile

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Abdelrazak Younes
Bennett Helm wrote: On May 25, 2006, at 6:39 PM, Abdelrazak Younes wrote: I have enabled the font width caching in the qt4 frontend. Under windows I have a 5 seconds improvements when scrolling the UserGuide with pageDown (35 instead of 40). Could you SVN update and try this please? Wow!

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Abdelrazak Younes
Bennett Helm wrote: On May 25, 2006, at 6:39 PM, Abdelrazak Younes wrote: I have enabled the font width caching in the qt4 frontend. Under windows I have a 5 seconds improvements when scrolling the UserGuide with pageDown (35 instead of 40). Could you SVN update and try this please? Wow!

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Bennett Helm
On May 26, 2006, at 9:39 AM, Abdelrazak Younes wrote: Bennett Helm wrote: On May 25, 2006, at 6:39 PM, Abdelrazak Younes wrote: I have enabled the font width caching in the qt4 frontend. Under windows I have a 5 seconds improvements when scrolling the UserGuide with pageDown (35 instead

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-26 Thread Abdelrazak Younes
Bennett Helm wrote: On May 26, 2006, at 9:39 AM, Abdelrazak Younes wrote: Bennett Helm wrote: On May 25, 2006, at 6:39 PM, Abdelrazak Younes wrote: I have enabled the font width caching in the qt4 frontend. Under windows I have a 5 seconds improvements when scrolling the UserGuide with

Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-25 Thread Bennett Helm
This profile was generated by simply typing into the middle of a large document for 30 seconds. Bennett # Report 0 - Session 1 - Time Profile of lyx SharkProfileViewer # Generated from the visible portion of the outline view + 24852.6 ms main (lyx) | + 24852.6 ms LyX::priv_exec(int, char**)

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-25 Thread Abdelrazak Younes
Bennett Helm wrote: This profile was generated by simply typing into the middle of a large document for 30 seconds. I see that there is a lot of improvement compared to your former profile WRT qt4 frontends. Do you feel the improve in speed? AFAICS the clear culprit is again

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-25 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Bennett Helm wrote: This profile was generated by simply typing into the middle of a large document for 30 seconds. I see that there is a lot of improvement compared to your former profile WRT qt4 frontends. Do you feel the improve in speed? AFAICS the clear culprit

Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-25 Thread Bennett Helm
This profile was generated by simply typing into the middle of a large document for 30 seconds. Bennett # Report 0 - Session 1 - Time Profile of lyx SharkProfileViewer # Generated from the visible portion of the outline view + 24852.6 ms main (lyx) | + 24852.6 ms LyX::priv_exec(int&, char**)

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-25 Thread Abdelrazak Younes
Bennett Helm wrote: This profile was generated by simply typing into the middle of a large document for 30 seconds. I see that there is a lot of improvement compared to your former profile WRT qt4 frontends. Do you feel the improve in speed? AFAICS the clear culprit is again

Re: Profile: LyX/Mac 1.5.0svn Qt-4.1.3 -- Typing

2006-05-25 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Bennett Helm wrote: This profile was generated by simply typing into the middle of a large document for 30 seconds. I see that there is a lot of improvement compared to your former profile WRT qt4 frontends. Do you feel the improve in speed? AFAICS the clear culprit