Issue 20269

Summary: Q-PCD Performance-4 [Startup]
Product: General Reporter: matthias.huetsch
Component: codeAssignee: matthias.huetsch
Status: CLOSED FIXED QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P2 CC: issues, ooo, pbartecki, utomo.prawiro, yoshimit
Version: OOo 1.1   
Target Milestone: OOo 2.0.1   
Hardware: All   
OS: All   
Issue Type: FEATURE Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on: 26623, 29488, 29636, 29881, 29979, 30554, 30579, 30601, 31183, 32720, 34530, 34713, 35054, 35117, 35118, 35120, 35352, 35758, 37077, 37141, 37704, 38608, 38966, 40092, 41339, 42262, 45006, 47748, 47755, 49160, 49165, 51181, 51254, 51304    
Issue Blocks:    

Description matthias.huetsch 2003-09-28 14:10:02 UTC
Source
Many

Category
Startup

Product Requirement 
Improve the startup performance for the first start.

Customer Need/Problem
Startup of first SO/OOo application. 

Comment
-

Eng Effort
-

Eng Owner
Matthias Huetsch

Product Concept
The long time required for both first startup as well as first load of
additional applications is largely due to the large amount of code in shared
libraries that is loaded and initialized prior to loading a document or being
responsive to user input.

The largest fraction of this large amount of code has strong interdependencies
and follows an outdated global instance initialization pattern, such that a
large amount of actually unneeded code needs to be loaded and initialized at
startup.

Improvement can be achieved through code refactoring in the following areas:

1) Remove strong interdependency between application Core, UI and Filter parts;
this relates to the Modern Look&Feel Toolkit proposal discussed elsewhere and
the Binary Filter Stripping proposal by Armin Weiss (AW).

2) Remove strong interdependency between libraries caused by the global instance
initialization pattern, in particular OLE factory registration; this relates to
the Object Embedding and Document Loading proposal by Mathias Bauer (MBA) and
the Binary Filter Stripping proposal by AW.

3) Remove strong interdependency between application code and Common User
Interface code such as dialogs, tab pages and helper code, spread over several
libraries; this relates to the Common User Interface Factories proposal by Frank
Schoenheit (FS).

4) Remove strong interdependency between application code and Accessibility
Helper classes spread over several libraries; oral proposal by FS.

In combination, these refactoring actions shall result in loading a relatively
lightweight framework plus the necessary application code and document filters
upon startup, only, and will thus reduce both the startup time as well as the
initial memory consumption.

Functional Specification
-
Comment 1 matthias.huetsch 2003-09-28 14:11:32 UTC
Accepting...
Comment 2 matthias.huetsch 2003-09-28 14:57:38 UTC
*** Issue 19359 has been marked as a duplicate of this issue. ***
Comment 3 matthias.huetsch 2003-09-28 15:13:05 UTC
*** Issue 7968 has been marked as a duplicate of this issue. ***
Comment 4 utomo99 2003-09-29 03:11:45 UTC
Add CC. 

I hope the resources consumption is better than MS Office, in OOo 2.0. 
Comment 5 lutz.hoeger 2003-10-23 07:43:42 UTC
added keyword Q-PCD
Comment 6 matthias.huetsch 2004-06-08 14:54:05 UTC
.
Comment 7 Stephan Bergmann 2004-11-23 15:17:27 UTC
Added issue 37077 as new dependency.
Comment 8 Stephan Bergmann 2004-11-23 15:19:35 UTC
Added issue 37704 as new dependency.
Comment 9 Martin Hollmichel 2005-09-04 18:10:10 UTC
all dependent issues are fixed, set target for 2.0.1 to resumee achievements.
Comment 10 matthias.huetsch 2005-10-18 11:39:41 UTC
As all issues that have been blocking this meta issue (for OOo 2.0) are now
fixed and closed, I'm marking this issue "resolved fixed" as well.

Future issues will then track further improvements in startup performance for
future releases.
Comment 11 matthias.huetsch 2005-10-18 11:41:38 UTC
Closing...
Comment 12 tuharsky 2005-11-21 07:40:56 UTC
Woww, so much issues closed, it seems like OOo should start much faster now ;o)