On Thu, 4 Apr 2002, Lars Gullik Bjønnes wrote:

> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>
> | Andre> Which compiler that we support does not have a sufficient
> | Andre> std::string?
> >
> | There are bugs in compaq cxx 6.2 with std::string (an extraneous
> | assert), but I think it is fixed in 6.3 (cannot upgrade, though).
> >
> | Also lyxstring means much faster compiling and less disk footprint. I
> | tought you were interested in these kind of reasons.
>
> What are your compile times?
> What is your disk footprint now?
>
> Without and with std::string please.

P3-450 + 384MB RAM + 5400RPM 20GB HD + GCC-2.95.3 + automake-1.4 and
autoconf-2.13.  Compiled in a separate directory (builddir != srcdir)

--with-included-string

time make
1186.280u 119.580s 23:12.74 93.7%       0+0k 0+0io 2301039pf+0w

size src/lyx
   text    data     bss     dec     hex filename
2202743   76988   49712 2329443  238b63 src/lyx

du -s obj-lyx-devel/
173656  obj-lyx-devel



--without-included-string

time make
1561.910u 137.180s 31:36.29 89.6%       0+0k 0+0io 2333924pf+0w

size src/lyx
   text    data     bss     dec     hex filename
3623930   76992   49652 3750574  393aae src/lyx

du -s obj-lyx-devel/
278896  obj-lyx-devel


As you can see from the above sets of figures lyxstring makes a _huge_
difference.  It should also be noted that the two make runs were done
on the machine with almost no other load.  I didn't touch the keyboard
or run anything else for the duration of both tests.

You will surely notice that there is a 100MB difference between the du
tests of both runs.  There is also an 8 minute difference in `make`
times.  This difference gets even larger when there is any user
activity.

Allan. (ARRae)



Reply via email to