Le samedi 21 novembre 2015, 22:46:18 David Faure a écrit :
> On Saturday 21 November 2015 18:15:24 David Faure wrote:
> > I have a theory though:
> > 
> > $ nm -D $QTDIR/lib/libQtCore.so.4.8.7   | wc -l
> > 4682
> > $ nm -D $QTDIR/lib/libQtWebKit.so.4.9.4   | wc -l
> > 3112
> > $ nm  -D $KDEDIR/librosegardenprivate.so | wc -l
> > 54854
> > 

This gave me another idea.
I broke librosegardenprivate.so into 5 pieces using the attached scripts 
(grabbed from the output of "make VERBOSE=1").

The size of the largest piece is 32Mb (the old lib was 130Mb).

$ nm -D librosegardenprivate1.so | wc -l
13403
$ nm -D librosegardenprivate2.so | wc -l
17959
$ nm -D librosegardenprivate3.so | wc -l
13985
$ nm -D librosegardenprivate4.so | wc -l
22977
$ nm -D librosegardenprivate5.so | wc -l
13928

The gdb startup time falls from 2m35s to 45s.

Yves

Attachment: mklib5.sh
Description: application/shellscript

Attachment: mkrose5.sh
Description: application/shellscript

------------------------------------------------------------------------------
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to