Bug 39594 - accelerate Perl installer/builder on Windows
Summary: accelerate Perl installer/builder on Windows
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected)
Hardware: Other All
: medium normal
Assignee: Not Assigned
Whiteboard: target:4.1.0
Keywords: difficultyBeginner, easyHack, skillScript
Depends on:
Reported: 2011-07-27 03:12 UTC by Björn Michaelsen
Modified: 2016-01-26 17:24 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Björn Michaelsen 2011-07-27 03:12:51 UTC
==== accelerate Perl installer/builder on Windows ====

'''Backround:''' Windows is the slowest platform for make_installer to run on (under cygwin). This is in part because forking and executing processes is really slow. One of the slowest parts is unpacking ARCHIVES, in part this is because we spawn (in solenv/bin/modules/installer/archivefiles.pm) a find and exec of chmod to "Make dll's executable", yet there is no need to spawn find, we have Perl::Archive to do the unpack, which has all the filenames it just unpacked.

Some of the perl is dead slow; there is a [http://users.freedesktop.org/~michael/make_installer.txt profile of this on Windows] - it would be great to do some re-factoring and/or optimisation to improve this.

'''Skills:''' Perl, building
Comment 1 Florian Reisinger 2012-05-18 09:04:35 UTC
Deteted "Easyhack" from summary
Comment 2 Björn Michaelsen 2013-07-01 19:45:56 UTC
@Norbert: Isnt this one solved by now?
Comment 3 Norbert Thiebaud 2013-07-01 23:53:48 UTC
(In reply to comment #2)
> @Norbert: Isnt this one solved by now?

@Bjorn : I do not know... a lot of things have changes in the installer side, but I have no idea what the exact situation is.
Comment 4 David Tardon 2013-07-02 12:05:49 UTC
AFAIK the only zips left are external extensions like ct2n.oxt. There is only ~10 of them and they are not installed by default anyway. So I think we can close this.

(We could open another easy hack to unpack these extensions during build and then drop archivefiles.pm entirely.)
Comment 5 Michael Meeks 2013-07-02 12:36:17 UTC
nice work David - thanks ! :-)
Comment 6 Robinson Tryon (qubit) 2015-12-15 23:19:56 UTC
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyBeginner SkillScript SkillWindows)
Comment 7 Björn Michaelsen 2016-01-26 17:24:45 UTC
removing skillWindows keyword. There is no such thing at https://wiki.documentfoundation.org/Development/Easy_Hacks/lists/by_Required_Skill and having a "skill*" keyword makes the easyHack not even appear on that page even in "uncategorized".