Issue 37077

Summary: Improve performance by reducing exported symbols of sfx and xo dynamic libraries
Product: General Reporter: Stephan Bergmann <stephan.bergmann.secondary>
Component: codeAssignee: michael.ruess
Status: CLOSED FIXED QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P2 CC: issues, matthias.huetsch
Version: 680m61   
Target Milestone: OOo 2.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 20269    

Description Stephan Bergmann 2004-11-12 12:23:48 UTC
As a performance example, starting and then automatically terminating SRC680m60
unxlngi6.pro soffice.bin -invisible on one machine (sb-1) takes 3 sec, of which
.7 sec are spent in the dlopen of libsfx680li.so (which includes the recursive
dlopen of libxo680li.so).
Comment 1 Stephan Bergmann 2004-11-12 12:24:18 UTC
accepted
Comment 2 matthias.huetsch 2004-11-14 17:02:47 UTC
Adding dependency to issue 20269 (startup performance), inheriting it's priority
(P2).
Comment 3 matthias.huetsch 2004-11-14 17:03:42 UTC
Adding myself to CC...
Comment 4 Stephan Bergmann 2004-11-16 16:13:14 UTC
After symbol reduction for libsfx680li.so and libxo680li.so, the above scenario
takes .5 sec less.
Comment 5 Stephan Bergmann 2004-11-16 16:25:35 UTC
Fixing this issue introduced slight changes in three places where XML files are
processed.  These changes can be tested for regressions as follows:

1  Changes in starmath/source/mathml.cxx:
Save and load documents in "Open Office Formula (*.oof)" format.  Also try to
exchange such documents with older OOo instances (without this issue
integrated), in both directions.

2  Changes in sfx2/source/doc/xmlversion.cxx:
Modify the version list of a document ("File - Versions...").  Also try to
exchange documents with version lists with older OOo instances (without this
issue integraged), in both directions.  This feature will only work once issue
37232 is fixed.

3  Changes in svx/source/xml/xmlxtimp.cxx and svx/source/xml/xmlxtexp.cxx:
Save and load gradients list .sog files (e.g., in a text document, insert a
shape, and via context menu "Area... - Gradients" use the "Load Gradients List"
and "Save Gradients List" buttons).  Also, try to exchange .sog files with older
OOo instances (without this issue integrated), in both directions.  This feature
will only work once issue 32542 is fixed, on SRC680m62.
Comment 6 Stephan Bergmann 2004-11-18 09:12:06 UTC
fixed
Comment 7 Stephan Bergmann 2005-01-06 09:59:28 UTC
.
Comment 8 Stephan Bergmann 2005-01-06 10:00:12 UTC
.
Comment 9 Stephan Bergmann 2005-01-06 10:00:29 UTC
.
Comment 10 michael.ruess 2005-01-10 15:55:49 UTC
Verified in CWS sb25. Checked by JA (performance), WG (Gradients) and MRU
(versioning and Math).
JA's results:
nm -D --defined libsfx680li.so |wc -l
2782 [10185]
nm -D --defined libxo680li.so |wc -l
1320 [11495]
Comment 11 michael.ruess 2005-01-27 16:20:55 UTC
Checked integration in 680m74.