To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87401
                 Issue #|87401
                 Summary|Time required to build multi-language installer explod
                        |es
               Component|utilities
                 Version|OOo 2.4.0
                Platform|PC
                     URL|
              OS/Version|Windows, all
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|cd
             Reported by|tml





------- Additional comments from [EMAIL PROTECTED] Tue Mar 25 09:48:27 +0000 
2008 -------
The time it takes to construct an installer by the make_installer.pl script
seems to have a very non-linear dependency on the number of languages. The
culprit seems to be the function get_children in the file
solenv/bin/modules/installer/packagelist.pm. 

I added some instrumentation to simply count the number of times this function
gets called, and compared this to the number of languages in addition to en-US
in the installer being built:

1         734
2        1863
3        3854
4        7055
5       11886
8       41439

(Plot it in calc...)

We used to build OOo with a multi-lingual installer with 50 languages. Clearly
with this behaviour this is not possible. I lost patience when the perl process
had consumed some ten hours of CPU... (With 2.3.0 the *whole* build took some
six hours (using lots of parallel CPUs for the actual build phase), and the
instsetoo_native part maybe just some tens of minutes.) 

Does anybody have a clue how to correct this problem? At a first glance, it
seems to me that it should be possible to simplify how get_children works by a
preprocessing step that constructs the set of children for each module just once
in advance, but what do I know...

---------------------------------------------------------------------
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]

Reply via email to