To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=56722
Issue #:|56722
Summary:|cold-start speedup ...
Component:|framework
Version:|680m133
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|PATCH
Priority:|P3
Subcomponent:|code
Assigned to:|tm
Reported by:|mmeeks
------- Additional comments from [EMAIL PROTECTED] Wed Oct 26 09:18:53 -0700
2005 -------
So - it turns out that on startup we stat & then parse each of the UI .xml
files, although in reality we don't need to. This has an obvious cold-start
impact, at worst ~20ms per file or so:
Before:
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/drawingobjectbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/calloutshapes.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/starshapes.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/formtextobjectbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/drawbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/drawtextobjectbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/extrusionobjectbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/alignmentbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/numobjectbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/optimizetablebar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/tableobjectbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/textobjectbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/standardbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/symbolshapes.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/formsfilterbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/fullscreenbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/graffilterbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/formdesign.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/toolbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/previewobjectbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/moreformcontrols.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/insertbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/basicshapes.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/mediaobjectbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/graphicobjectbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/fontworkshapetype.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/viewerbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/arrowshapes.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/flowchartshapes.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/insertobjectbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/frameobjectbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/formcontrols.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/formsnavigationbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/colorbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/oleobjectbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/fontworkobjectbar.xml",
O_RDONLY) = 38
[pid 25680]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/bezierobjectbar.xml",
O_RDONLY) = 38
After:
[pid 27571]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/standardbar.xml",
O_RDONLY) = 38
[pid 27571]
open("/opt/OOInstall/share/config/soffice.cfg/modules/swriter/toolbar/textobjectbar.xml",
O_RDONLY) = 38
That is of course omitting the stats - which I'll address in a separate bug.
This changes the UNO API to add a parameter which will not load / parse files to
determine the UIName which is ~invariably not actually used (or even present in
the default files?). It's not clear that that's the best approach but ...
It also accelerates warm-start of course - but it's prolly within the margin of
measurement error.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]