Helge Hafting <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | | >Helge Hafting <[EMAIL PROTECTED]> writes: | > | >| On Wed, Dec 07, 2005 at 04:58:51PM +0100, Jean-Marc Lasgouttes wrote: | >| > >>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | > | > | > Lars> I also tried to do some profiling on this, but failed | > to get | >| > Lars> anything to pinpoint. Also on my box startup times are not bad | >| > Lars> at all... (sub-second) | > | > | > I clearly see a difference between 1.3.x and 1.4.x, but the | > times are | >| > reasonably short. | > | | Evereybody except me get sub-second startup times? | >| That is good, lyx is probably ok with me making a mistake then. | >| It'd sure be interesting if anyone have an idea what I do wrong. | > | | My configure command, using optimizations and disabling | >| some costly debugging. Are there perhaps other things that impact speed? | > | | | $ ./configure --prefix=/usr/local --with-frontend=qt | > --with-gnu-ld | --with-qt-includes=/usr/include/qt3 | > --disable-stdlib-debug | --disable-concept-checks | > --enable-assertions CFLAGS=-O2 CPPFLAGS=-O2 | > | >Even on a build with this: | > | >./configure --with-frontend=qt --disable-debug | > | >And when starting I get sub-2-second startup. (cached, no disk read needed) | >This in on a AMD XP 2400 | > | >The only thing I see with your configure line that could be changed in | >the last two variables that you set... (btw. does it work to set them | >last on the command line?) | > | >To set optimization level you should use --enable-optimization='-O2' | > | > | Ok, tried this. More exactly: | $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld | --with-qt-includes=/usr/include/qt3 --disable-debug | --disable-concept-checks --enable-optimization=-O2
You should use '--disable-stdlib-debug' as well. that is a real time consumer, nice when developing but not else. -- Lgb