Helge Hafting wrote:

> Well, this helped -- a little.
> With
> $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
> --with-qt-includes=/usr/include/qt3 --disable-debug
> --disable-concept-checks --disable-stdlib-debug --enable-optimization=-O2
> I got 4.7s starting lyx instead of 5.2s
> 
> Starting with LANG=C brings this further down to 4.6s, so
> internationalization
> is not the big culprit.
> 
> The test method is to run
> time lyx
> while clicking the mouse fast in the place where the closing button is
> going to
> appear.  Repeated clicks are used so my reaction time won't affect the
> result.
> I barely see the main window, it is removed as soon as it appears.
> 
> The same kind of timing for lyx-qt 1.3.6 from debian is 0.7s, with or
> without
> translations. So it doesn't seem like a debian problem.

I get almost the same results (4.9s for 1.4, 0.8 for 1.3 on a 1.3 GHz duron
for

/usr/bin/time lyx -x lyx-quit

(qt frontend) The time for 1.4 drastically improves for the xforms frontend:
1.5s. The reason is that lyx_gui::font_available takes quite some time in
the qt case. This is called several times from math initialization
(initSymbols).

It seems that we need help of a qt font guru!


Georg



Reply via email to